home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr27 / fed21.zip / FONTEDIT.DOC < prev    next >
Text File  |  1993-07-15  |  106KB  |  2,529 lines

  1.           FONTEDIT, (C) by Alexander Walter                      Page 1
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                                     FONTEDIT
  32.  
  33.                                    version 2.1
  34.  
  35.  
  36.  
  37.                                  Copyright 1993
  38.  
  39.                                 Alexander Walter
  40.  
  41.  
  42.  
  43.           FONTEDIT, (C) by Alexander Walter                      Page 2
  44.  
  45.  
  46.  
  47.                                 TABLE OF CONTENTS
  48.  
  49.  
  50.  
  51. 1.  Acknowledgments......................................................4
  52. 2.  Miscellany...........................................................4
  53. 3.  Requirements and Limitations.........................................4
  54. 4.  Introduction and Features............................................5
  55. 5.  Guide to Operation...................................................6
  56. 5.1.  Basic Screen Layout................................................7
  57. 5.1.1.  Guidelines.......................................................8
  58. 5.2.  Main Menu..........................................................8
  59. 5.2.1.  Pixel Edit.......................................................9
  60. 5.2.1.1.  Image Transforms..............................................10
  61. 5.2.1.1.1.  Invert......................................................11
  62. 5.2.1.1.2.  Hollow......................................................11
  63. 5.2.1.1.3.  Thinner.....................................................11
  64. 5.2.1.1.4.  Mirror Image................................................12
  65. 5.2.1.1.5.  Upside-Down.................................................12
  66. 5.2.1.1.6.  Slant.......................................................12
  67. 5.2.1.1.7.  Tilt........................................................12
  68. 5.2.1.1.8.  Drop Shadow.................................................12
  69. 5.2.1.1.9.  Resize......................................................13
  70. 5.2.1.1.10.  Counterclockwise...........................................13
  71. 5.2.1.1.11.  Bolder.....................................................13
  72. 5.2.1.1.12.  Bold/Thin Option...........................................14
  73. 5.2.1.2.  Area Operators................................................14
  74. 5.2.1.2.1.  Polygon Fill & Clear........................................15
  75. 5.2.1.2.1.1.  Bezier Curve..............................................16
  76. 5.2.1.2.2.  Rectangle Fill & Clear......................................17
  77. 5.2.1.2.3.  Ellipse & Wedge Fill / Clear................................18
  78. 5.2.1.2.4.  Parallelogram Fill & Clear..................................20
  79. 5.2.1.2.5.  Pixel Edit..................................................20
  80. 5.2.1.3.  Clear Character...............................................20
  81. 5.2.1.4.  Row/Col Ins/Del...............................................20
  82. 5.2.1.4.1.  Trim........................................................21
  83. 5.2.1.4.2.  Expand......................................................21
  84. 5.2.1.5.  Cut & Paste...................................................22
  85. 5.2.1.6.  Adjust Kerning................................................24
  86. 5.2.1.7.  Quit & Save...................................................24
  87. 5.2.1.8.  Toggle Pixel..................................................24
  88. 5.2.1.9.  Quit, no Save.................................................24
  89. 5.2.2.  Zoom / Unzoom...................................................24
  90. 5.2.3.  Font Operators..................................................25
  91. 5.2.3.1.  New Cell Width................................................25
  92. 5.2.3.2.  New Cell Height...............................................26
  93. 5.2.3.3.  Create New Font...............................................26
  94. 5.2.3.4.  Make Landscape / Make Portrait................................26
  95. 5.2.3.5.  Make Fixed Width / Make Propor................................26
  96. 5.2.3.6.  New Pitch (HMI)...............................................27
  97. 5.2.3.7.  New VMI.......................................................27
  98. 5.2.3.8.  New Point Size................................................27
  99. 5.2.3.9.  Move Baseline.................................................27
  100. 5.2.3.10.  Move Underline...............................................28
  101.           FONTEDIT, (C) by Alexander Walter                      Page 3
  102.  
  103.  
  104.  
  105. 5.2.3.11.  Main Menu....................................................28
  106. 5.2.3.12.  New Symbol Set...............................................28
  107. 5.2.3.13.  New Typeface.................................................28
  108. 5.2.3.14.  New Font Comment.............................................29
  109. 5.2.3.15.  Bold/Thin Option.............................................29
  110. 5.2.3.16.  Trim All.....................................................29
  111. 5.2.3.17.  Expand All...................................................29
  112. 5.2.3.18.  Resize All...................................................29
  113. 5.2.3.19.  Counterclockwise.............................................30
  114. 5.2.3.20.  Invert.......................................................30
  115. 5.2.3.21.  Hollow.......................................................30
  116. 5.2.3.22.  Thinner......................................................30
  117. 5.2.3.23.  Mirror Image.................................................30
  118. 5.2.3.24.  Upside-Down..................................................30
  119. 5.2.3.25.  Slant........................................................31
  120. 5.2.3.26.  Tilt.........................................................31
  121. 5.2.3.27.  Drop Shadow..................................................31
  122. 5.2.3.28.  Bolder.......................................................31
  123. 5.2.3.29.  Start ASCII..................................................32
  124. 5.2.4.  Replicate.......................................................32
  125. 5.2.5.  New Font........................................................32
  126. 5.2.6.  Create New Char.................................................32
  127. 5.2.7.  Delete Character................................................33
  128. 5.2.8.  Printer Support.................................................33
  129. 5.2.8.1.  Download Font.................................................34
  130. 5.2.8.2.  Print File....................................................34
  131. 5.2.8.3.  Echo Text.....................................................34
  132. 5.2.8.4.  Eject Page....................................................34
  133. 5.2.8.5.  Select Font ID................................................34
  134. 5.2.8.6.  Built-in Fonts................................................34
  135. 5.2.9.  Import TIFF.....................................................35
  136. 5.2.10.  Quit...........................................................36
  137. 5.2.11.  VGA Text Colors................................................36
  138. 5.2.12.  Exp. Factors...................................................36
  139. 5.2.13.  <Print Shop Icon...............................................37
  140. 5.2.14.  Import PCX.....................................................37
  141. 5.2.15.  Import Soft Font...............................................38
  142. 5.2.16.  Pick ASCII.....................................................38
  143. 6.  Tips................................................................38
  144. 6.1.  Scanning and Importing Graphics...................................38
  145. 6.2.  Very Large Point Sizes............................................39
  146. 6.3.  Using Bitmapped Printer Fonts with Windows 3...1..................40
  147. 7.  Sample Session......................................................41
  148. 7.1.  Gantt Milestone Character.........................................41
  149. 7.2.  Registered Trademark Symbol.......................................42
  150.  
  151.           FONTEDIT, (C) by Alexander Walter                      Page 4
  152.  
  153.  
  154.  
  155. 1.  Acknowledgments
  156.  
  157. FONTEDIT is copyright 1993 by Alexander Walter. All rights reserved. The
  158. purchaser may make one copy for backup or archival purposes.
  159.  
  160. The run-time files BRUN45.EXE and MSHERC.COM are copyrighted by Microsoft and
  161. are distributed with this package in accordance with the QuickBasic 4.5
  162. licensing agreement.
  163.  
  164. Portions (c) Copyright Genus Microprogramming, Inc. 1988-1991. This bit of
  165. legalese is required by Genus since FONTEDIT uses their PCX toolkit to
  166. support importing characters from PCX images.
  167.  
  168.  
  169.  
  170. 2.  Miscellany
  171.  
  172. This is version 2.1 of FONTEDIT. FONTEDIT is available by sending a $30 check
  173. or money order to:
  174.  
  175.                                Alexander Walter
  176.                                  182 ILER Dr.
  177.                             Middletown, NJ.  07748
  178.  
  179. toll free phone support is available at (800) 262-0827 in USA only.
  180. Otherwise, call (908) 671-5080 or (908) 949-0507.
  181.  
  182. If you encounter any problems or bugs with FONTEDIT, please report them to
  183. the author along with a description of the steps that led up to it. If you
  184. have any suggestions for new features, pass them along. A version of FONTEDIT
  185. for the HP DeskJet printer is also available.
  186.  
  187. Section 5 of this manual is organized along the lines of the menu structure.
  188. Items which are submenu items will have a paragraph number which has one more
  189. digit than its parent menu item.
  190.  
  191.  
  192.  
  193. 3.  Requirements and Limitations
  194.  
  195. FONTEDIT requires a graphics display, CGA or higher. A Hercules graphics
  196. display can be used provided you run the MSHERC.COM TSR before running
  197. FONTEDIT.
  198.  
  199. FONTEDIT requires DOS 2.1 or above, and approximately 256K of available RAM,
  200. i.e., memory not used by DOS or TSRs. FONTEDIT can be run from one floppy
  201. disk drive; however, since HP font files can be large, hard disk usage is
  202. recommended.
  203.  
  204. The font file being edited with FONTEDIT must be of the HP LaserJet bitmapped
  205. format. This includes Series II and above. Postscript font files are not
  206. supported. Outline fonts available in the LaserJet III are not yet supported;
  207. however, the LaserJet III will still accept bitmapped fonts. You cannot
  208. change the built-in Courier and TTY fonts of the laser printer.
  209.  
  210.  
  211.           FONTEDIT, (C) by Alexander Walter                      Page 5
  212.  
  213.  
  214.  
  215. Although FONTEDIT cannot edit TrueType fonts directly, it can edit bitmap
  216. renditions of TrueType fonts at given point sizes. When Windows 3.1 prints a
  217. document with a LaserJet driver, it will render the TrueType font(s) as
  218. bitmap fonts in the various point sizes used in the document and download
  219. them to the printer. If you print to a disk file rather than the printer,
  220. FONTEDIT will allow you to edit the bitmap renditions of those TrueType
  221. fonts. Registered users can obtain a program to strip out the non-font data
  222. from the file, leaving only the bitmap renditions of the TrueType fonts.
  223.  
  224. If you use any compression programs to reduce the size of font files stored
  225. on disk, they must be uncompressed before editing then with FONTEDIT. This
  226. dows not pertain to the DbleSpace disk compression that comes with MS-DOS
  227. version 6.0.
  228.  
  229. If you use the DOS access feature available by pressing ALT-D, be sure to
  230. include in your DOS PATH the directory containing FONTEDIT.
  231.  
  232. If you run FONTEDIT at a Windows 3.1 DOS prompt on a network, you won't be
  233. able to use the printer related functions such as downloading a font or
  234. printing something. However, you still will be able to edit a font on-screen.
  235.  
  236.  
  237.  
  238. 4.  Introduction and Features
  239.  
  240. FONTEDIT is a tool to view and edit laser printer soft font files for the
  241. Hewlett-Packard laser printer. Such a tool can be used to touch-up existing
  242. characters in a file, define special characters in a font file, or create an
  243. entirely new fontface. For example, using FONTEDIT you could add Greek
  244. characters to a font file you already have; you could define special
  245. characters such as the Gantt chart symbols used by Timeline and other project
  246. management software; or you could produce a stylized version of your
  247. company's name or logo.
  248.  
  249. FONTEDIT has a rich set of features for editing fonts:
  250.  
  251.   -   Can view and edit both portrait and landscape fonts, and convert one to
  252.       the other.
  253.   -   Handles both fixed-width and proportional fonts, and can convert one to
  254.       the other.
  255.   -   Automatically detects a mouse if present and uses it.
  256.   -   Requires only CGA graphics. Will detect and use EGA or VGA if
  257.       available.
  258.   -   Maximum point size depends on display mode. Maximum 110 point (VGA); 80
  259.       point (EGA & Hercules); 44 point (CGA); or 88 point (AT&T video mode)
  260.   -   Allows both pixel-level editing of individual characters and fill &
  261.       clear area operations (rectangle, parallelogram, circle, ellipse,
  262.       wedge, arbitrary polygon, Bezier curves).
  263.   -   Can change font parameters, such as maximum height & width, baseline,
  264.       symbol set, typeface value, and embedded font comment.
  265.   -   Can resize the font up or down to any arbitrary point size, up to the
  266.       maximum allowable for the display adaptor, and smooths characters while
  267.       doing so.
  268.   -   Can resize individual characters while smoothing and maintaining their
  269.       original shape.
  270.  
  271.           FONTEDIT, (C) by Alexander Walter                      Page 6
  272.  
  273.  
  274.  
  275.   -   Can perform special effects (drop shadow, mirror image, rotate, upside
  276.       down, invert, hollow, thin, bolder, etc.) either one character at a
  277.       time or font-wide.
  278.   -   Has a clipboard to allow cutting and pasteing portions of a character
  279.       either within the same character, or to another character.
  280.   -   Can insert or delete rows and columns of individual characters.
  281.   -   Can import characters from black & white TIFF or PCX graphics.
  282.   -   Can import characters from another font.
  283.   -   Can import PrintShop icon graphics.
  284.   -   Can change intercharacter spacing (kerning) of proportional fonts
  285.   -   Can add and delete characters from a font.
  286.   -   Zoom mode available for close-ups.
  287.   -   Includes printer support within the FONTEDIT environment to see the
  288.       effect of editing changes, or to do a graphics print screen.
  289.   -   Handles font files which consist of several fonts grouped together.
  290.   -   Menu-driven user interface, available at all times.
  291.   -   Built-in DOS access.
  292.   -   On some VGA monitors, the text colors can be customized.
  293.  
  294.  
  295.  
  296. 5.  Guide to Operation
  297.  
  298. To begin version 2.1 of FONTEDIT, simply type "fontedit" at the DOS prompt.
  299. You may follow it with the name of the font file to edit. If you don't,
  300. FONTEDIT will ask you to supply a font filename.
  301.  
  302. FONTEDIT requires only a CGA adaptor, but will automatically detect and use
  303. the higher resolution of a VGA, EGA, or AT&T adaptor if available. This can
  304. be overridden by including a switch either on the command line or when
  305. specifying the font filename to edit. For instance, if an EGA monitor is
  306. being used but you want to take advantage of the faster graphics and lower
  307. memory requirements of CGA mode, youcan force CGA mode when beginning
  308. FONTEDIT by typing:
  309.  
  310.                             fontedit filename /cga
  311.  
  312. To force EGA mode while using a VGA adaptor, use "/ega".
  313.  
  314. To use a Hercules graphics board, run the MSHERC.COM TSR program before
  315. starting FONTEDIT. MSHERC.COM is (C) by Microsoft, and is distributed here in
  316. accordance with the QuickBasic 4.5 licensing agreement.
  317.  
  318. If you see the message "Input run-time module path:" when you start FONTEDIT,
  319. quit with Ctrl-C, and make sure that the run time module BRUN45.EXE is in
  320. either the current directory, or a directory in your DOS PATH.
  321.  
  322. While you are prompted for a filename, FONTEDIT displays a message whether a
  323. mouse driver is installed or not. If you have a mouse but have forgotten to
  324. install the driver, you can exit FONTEDIT at this point by pressing ESC.
  325.  
  326. Either on the command line or when FONTEDIT asks for a filename, you may
  327. supply a filename containing wildcards (*,?) and, optionally, a drive
  328. designator. FONTEDIT responds with a list of matching filenames from which
  329. you can point and shoot with a mouse. If a mouse is not installed, you can
  330.  
  331.           FONTEDIT, (C) by Alexander Walter                      Page 7
  332.  
  333.  
  334.  
  335. choose a filename by moving the reverse-video highlight with the arrow keys
  336. and pressing Enter. If a drive designator is not specified, the default drive
  337. is used. If you make a mistake in the wildcards, you can press Space Bar and
  338. reenter the wildcards or a filename.
  339.  
  340. When a font file has been chosen, FONTEDIT will create a backup copy of the
  341. font file, giving it the extension ".BAK".
  342.  
  343. If there is insufficient room left on the disk drive, FONTEDIT will give a
  344. caution and stop. The free space required on the disk with the font file must
  345. be at least as much as the original size of the font file. This is calculated
  346. after the backup file has been created.
  347.  
  348. If the overlay file HELV9B.EXE is not in the current directory or in one of
  349. the directories in your DOS PATH, you will be prompted to enter the pathname
  350. to it.
  351.  
  352. After loading the font file, if it contains multiple font definitions you
  353. will be asked which font you want to view and edit; after you answer you will
  354. see the main menu (described below). If the font file contains only one font
  355. definition, you will immediately be at the main menu. If ASCII 65 (capital
  356. "A") is defined for the font file you are editing, it will be displayed.
  357.  
  358. At any point after the file is loaded, you may temporarily escape to DOS by
  359. pressing Alt-D. Be sure that your path includes the FONTEDIT subdirectory
  360. when using the DOS access feature. You can also dump the screen to a laser
  361. printer by pressing Alt-P.
  362.  
  363. The paragraph below describing the Main Menu describes how to select a
  364. character to view on screen, including those ASCII values that don't have a
  365. keyboard equivalent.
  366.  
  367. Upon completion of editing, saving of your work, and exiting FONTEDIT, you
  368. can download to your printer the newly edited font file. Normally, this is
  369. done by using whatever font downloading utilities you usually use.
  370. Optionally, while editing your font file you can download it to the laser
  371. printer from within FONTEDIT, and print either a text file from disk or echo
  372. keyboard input to the printer using the font. This is described further
  373. later.
  374.  
  375.  
  376.  
  377. 5.1.  Basic Screen Layout
  378.  
  379. The basic screen layout is a status line at the top; on the top right are the
  380. menu choices available via the Function Keys, RETURN, or ESC; on the middle
  381. right is information about the font being edited; and on the bottom right is
  382. information about the displayed character. In VGA mode, the lower right
  383. corner of the screen shows Alt-key definitions and the filename being edited.
  384. The rest of the screen is used to display a magnified version of the
  385. characters. At times the bottom line is used for messages.
  386.  
  387. The displayed character and the border around it is referred here as the
  388. character box. The character box is surrounded by a larger box which is
  389. referred here as the cell box. The cell box denotes the largest character
  390.  
  391.           FONTEDIT, (C) by Alexander Walter                      Page 8
  392.  
  393.  
  394.  
  395. size which any character in this font can be. The information area on the
  396. right of the screen shows the size of the cell box and character box. The
  397. size of the cell box can be changed under the Font Operators menu.
  398.  
  399. The magnification factor used to display the characters is automatically
  400. chosen at start-up to provide a size which fills up the screen as much as
  401. possible while maintaining a "pleasing" ratio of width to height. The
  402. character box is displayed with grid lines superimposed as an editing guide.
  403. If the magnification is such that the character box would become congested
  404. while the grid lines are displayed, the grid lines are suppressed.
  405.  
  406. If zoom mode is active (described in a subsequent section), the cell box is
  407. suppressed and the character box is displayed so that it takes up as much of
  408. the screen as possible.
  409.  
  410.  
  411.  
  412. 5.1.1.  Guidelines
  413.  
  414. Four guidelines are displayed for each character of portrait fonts when not
  415. in zoom mode. They are the baseline, x-height, M-height, and p-height. To
  416. help distinguish them, they are drawn with different line styles. The
  417. baseline is a more solid dashed line, the M-height is a less solid dashed
  418. line, and the x-height and p-height are dotted lines.
  419.  
  420. The M-height is drawn through the upper pixel row of the letter "M". If the
  421. letter "M" is not defined in the font, the height of the first upper case
  422. letter defined in the font is used. If there are no upper case letters in the
  423. font, no M-height is drawn.
  424.  
  425. The x-height is drawn through the upper pixel row of the letter "x". If the
  426. letter "x" is not defined in the font, the height of the first lower case
  427. letter without an ascender defined in the font is used. If there are no such
  428. letters in the font, no x-height is drawn. This guideline does not depend on
  429. the x-height field in the font header, which is ignored anyways by the
  430. LaserJet in a bitmapped font.
  431.  
  432. The p-height is drawn through the lowest pixel row of the letter "p". If the
  433. letter "p" is not defined in the font, the lowest row of one of the letters
  434. "g", "j", "q", or "y" is used. If none of these letters are defined in the
  435. font, no p-height is drawn.
  436.  
  437. The baseline is drawn through the pixel row indicated by the baseline field
  438. in the font header. This field can be changed under the Font Operations menu.
  439. When changing the baseline, it may be necessary to change the cell height
  440. first.
  441.  
  442. When editing a letter upon which a guideline is based (e.g., normally "M",
  443. "p", and "x"), the guideline positions are updated as soon as the edited
  444. character is saved.
  445.  
  446.  
  447.  
  448. 5.2.  Main Menu
  449.  
  450.  
  451.           FONTEDIT, (C) by Alexander Walter                      Page 9
  452.  
  453.  
  454.  
  455. The status message at the top of the screen says "Press a character to
  456. display it." The main menu changes with pressing either the SHIFT or CTRL
  457. keys. This reflects how the F-key definitions change when SHIFT or CTRL is
  458. pressed. The available menu options are shown below.
  459.  
  460.  
  461. NO SHIFT or CTRL             SHIFT only                CTRL only
  462. -------------------------    ----------------------    ---------------------
  463.   F2 = Pixel Edit            F2 = VGA Text Colors(3)   F2 =
  464.   F3 = Zoom(1)               F3 = Exp. Factors         F3 =
  465.   F4 = Font Operators        F4 =                      F4 =
  466.   F5 = Replicate             F5 =                      F5 =
  467.   F6 = New Font(2)           F6 =                      F6 =
  468.   F7 = Create New Char.      F7 =                      F7 =
  469.   F8 = Delete Character      F8 =                      F8 =
  470.   F9 = Printer Commands      F9 = Print Shop Icon      F9 =
  471.   F10= Import TIFF           F10= Import PCX           F10= Import Soft Font
  472.   RET=                       RET=                      RET= Pick ASCII
  473.   ESC= Quit                  ESC= Quit                 ESC= Quit
  474.  
  475. notes:
  476.  
  477.   1.  If already in Zoom mode, this will say "Unzoom".
  478.   2.  This choice shown only if the font file defines more than one font.
  479.   3.  Shown only in VGA mode.
  480.  
  481.  
  482. At this point you can either begin to operate on the character displayed, or
  483. press a letter key to display that character. If the ASCII value
  484. corresponding to the key you pressed is not defined in the font, there will
  485. be no response. There are two ways to display any ASCII characters defined in
  486. your font file, including those such as ASCII 127 which don't have an
  487. associated key on the keyboard. One way is to press and hold the ALT key,
  488. type the 3-digit ASCII value on the numeric keypad, then release the ALT key.
  489. Since some keyboards don't have a numeric keypad, another way to display a
  490. character which doesn't have a keyboard equivalent is to use the Pick ASCII
  491. menu choice (CTRL-Enter).
  492.  
  493. The right or down arrow keys can also be used to scroll to the next ASCII
  494. value in the font. The up or left arrow keys can be used to scroll to the
  495. previous ASCII value in the font. The selection will wrap at the first or
  496. last ASCII values.
  497.  
  498. Pressing ALT-Z (for zoom) at the Main Menu or the Pixel Edit menu can also be
  499. used to toggle zoom mode on and off.
  500.  
  501.  
  502.  
  503. 5.2.1.  Pixel Edit
  504.  
  505. Pixel Edit is a choice from the main menu, and operates on the character
  506. displayed. Upon entering the edit mode, the status message at the top of the
  507. screen says either:
  508.  
  509.     "Pixel Editing.   Left Button: Set Pixel    Right Button: Clear Pixel"
  510.  
  511.           FONTEDIT, (C) by Alexander Walter                      Page 10
  512.  
  513.  
  514.  
  515.  
  516. if a mouse is installed, or:
  517.  
  518.              "Pixel Editing.    Use arrow keys to move crosshairs"
  519.  
  520. if no mouse is installed. The following menu choices are displayed:
  521.  
  522.   F2 = Image Transforms
  523.   F3 = Area Operators
  524.   F4 = Clear Character
  525.   F5 = Row/Col Ins/Del
  526.   F6 = Cut & Paste
  527.   F7 = Adjust Kerning(1)
  528.   F10= Quit & Save
  529.   RET= Toggle pixel(2)
  530.   ESC= Quit, no save
  531.  
  532. notes:
  533.  
  534.   1. This menu choice shown only for proportional fonts.
  535.   2. This menu choice shown only if no mouse is installed.
  536.  
  537.  
  538. At this point, the mouse arrow cursor will be visible if a mouse is
  539. installed. If no mouse is installed, you will see a crosshair. Both the
  540. crosshair and mouse can be moved one pixel at a time with the arrow keys, or
  541. in larger increments by using the PgUp, PgDn, Tab, and Shift-Tab keys. You
  542. can begin editing individual pixels by either moving the mouse arrow and
  543. clicking, or by moving the crosshair and pressing RETURN to toggle the pixel
  544. underneath on or off.
  545.  
  546. If you experience erratic mouse behavior while pixel editing, you may need to
  547. update your mouse driver. FONTEDIT works fine with Microsoft mouse version
  548. 8.20a. This version of the mouse driver is available upon request by
  549. registered users.
  550.  
  551. At the Pixel Edit menu, zoom mode can be toggled on and off by pressing
  552. ALT-Z.
  553.  
  554. If zoom mode is not in effect, the character box can be moved around within
  555. the cell box by pressing Ctrl-Up, Ctrl-Down, Ctrl-Left, or Ctrl-Right. If
  556. your keyboard has two sets of arrow keys, the arrow keys on the numeric
  557. keypad must be used. As you move the character, the left offset and top
  558. offset are updated in the character information display.
  559.  
  560.  
  561.  
  562. 5.2.1.1.  Image Transforms
  563.  
  564. Image Transforms is a choice from the pixel edit menu, and performs a set of
  565. special effects on the character displayed. Upon entering Image Transforms,
  566. the status message at the top of the screen says:
  567.  
  568.                   "Image Transforms.   Press SHIFT for more."
  569.  
  570.  
  571.           FONTEDIT, (C) by Alexander Walter                      Page 11
  572.  
  573.  
  574.  
  575. The following menu choices are displayed:
  576.  
  577. NO SHIFT or CTRL             SHIFT only                CTRL only
  578. -------------------------    ----------------------    ---------------------
  579.   F2 = Invert                F2 = Resize(3)            F2 =
  580.   F3 = Hollow                F3 = Counterclockwise(3)  F3 =
  581.   F4 = Thinner               F4 = Bolder               F4 = Bold/Thin Option
  582.   F5 = Mirror Image          F5 =                      F5 =
  583.   F6 = Upside-Down           F6 =                      F6 =
  584.   F7 = Slant(1)              F7 =                      F7 =
  585.   F8 = Tilt(1)               F8 =                      F8 =
  586.   F9 = Drop Shadow(1)        F9 =                      F9 =
  587.   F10=                       F10=                      F10=
  588.   RET= Toggle Pixel(2)       RET=                      RET=
  589.   ESC= Pixel Edit Menu       ESC= Pixel Edit Menu      ESC= Pixel Edit Menu
  590.  
  591. notes:
  592.  
  593.   1. Slant, Tilt, and Drop Shadow choices shown only when not in zoom mode.
  594.   2. This menu choice shown only if no mouse is installed.
  595.   3. Resize & Counterclockwise choices shown only when not in zoom mode.
  596.  
  597.  
  598.  
  599. 5.2.1.1.1.  Invert.
  600.  
  601. This is chosen from the Image Transforms menu by pressing F2. It will change
  602. all "on" pixels to "off" pixels, and vice versa. It operates on the character
  603. presently displayed, including any editing changes already made up to that
  604. point.
  605.  
  606.  
  607.  
  608. 5.2.1.1.2.  Hollow.
  609.  
  610. This is chosen from the Image Transforms menu by pressing F3. It will hollow
  611. out a character, leaving behind a skeleton about one pixel wide. The hollow
  612. function is performed by deleting all pixels which are completely enclosed by
  613. its 8 neighbors.
  614.  
  615.  
  616.  
  617. 5.2.1.1.3.  Thinner.
  618.  
  619. This is chosen from the Image Transforms menu by pressing F4. It will delete
  620. a layer of pixels one pixel deep from the surface of the character. The
  621. surface it deletes from can be any combination of the top, bottom, left, or
  622. right surfaces, as controlled by the user. The surface(s) are controlled by
  623. the Bold/Thin Option, Ctrl-F4. The default value for the bold/thin option
  624. will cause a layer of pixels to be deleted from all four surfaces.
  625.  
  626. This function can be invoked repeatedly to make the character even thinner.
  627. However, the thinning algorithm is smart enough not to thin it beyond the
  628. point at which the character's basic shape changes. That is, you can thin
  629. acharacter to a 1-pixel wide skeletonal stick figure, but it will still be
  630.  
  631.           FONTEDIT, (C) by Alexander Walter                      Page 12
  632.  
  633.  
  634.  
  635. recognizable as that character.
  636.  
  637.  
  638.  
  639. 5.2.1.1.4.  Mirror Image.
  640.  
  641. This is chosen from the Image Transforms menu by pressing F5. It will flip
  642. the character around the vertical axis, as if you were looking at it in a
  643. mirror.
  644.  
  645.  
  646.  
  647. 5.2.1.1.5.  Upside-Down
  648.  
  649. This is chosen from the Image Transforms menu by pressing F6. It will turn
  650. the character upside-down, flipping it  around the horizontal axis.
  651.  
  652.  
  653.  
  654. 5.2.1.1.6.  Slant.
  655.  
  656. This is chosen from the Image Transforms menu by pressing F7. It will slant
  657. the top of the character left or right. Upon choosing this option, you will
  658. see a blinking parallelogram which indicates the amount of slant the new
  659. character will have. If this option is chosen without a mouse present, the
  660. height of the parallelogram can be disregarded. This option can be chosen
  661. only if not in zoom mode.
  662.  
  663. Slant and tilt are especially useful for straightening out an imported
  664. scanned image which may be slightly crooked, or for creating pseudo-italic
  665. characters, etc.
  666.  
  667.  
  668.  
  669. 5.2.1.1.7.  Tilt.
  670.  
  671. This is chosen from the Image Transforms menu by pressing F8. It will tilt
  672. the right side of the character up or down. Upon choosing this option, you
  673. will see a blinking parallelogram which indicates the amount of tilt the new
  674. character will have. If this option is chosen without a mouse present, the
  675. width of the parallelogram can be disregarded. This option can be chosen only
  676. if not in zoom mode.
  677.  
  678.  
  679.  
  680. 5.2.1.1.8.  Drop Shadow.
  681.  
  682. This is chosen from the Image Transforms menu by pressing F9. It will hollow
  683. out the character and place a shadow of the original character underneath it.
  684. This can be used to simulate a 3-dimensional character. Upon choosing this
  685. option you will see a blinking character box, which represents the placement
  686. of the shadowed image of the character. When the placement is OK, click the
  687. mouse (or press F10 if no mouse). This option can be chosen only if not in
  688. zoom mode.
  689.  
  690.  
  691.           FONTEDIT, (C) by Alexander Walter                      Page 13
  692.  
  693.  
  694.  
  695.  
  696.  
  697. 5.2.1.1.9.  Resize.
  698.  
  699. This is chosen from the Image Transforms menu by pressing Shift-F2. It will
  700. allow the character to be stretched or compressed both horizontally and
  701. vertically independently. The resized character will be smoothed to eliminate
  702. "jaggies". This option can be chosen only if not in zoom mode.
  703.  
  704. When this option is chosen, the character box will blink. You can use the
  705. mouse or arrow keys to change the size of the character box, and it will
  706. "rubber-band" while you do so. The upper left corner remains fixed, and only
  707. the lower right corner moves. F5 can be used to refresh the display. When the
  708. size is OK, click the mouse or press F10 to accept the new size. The
  709. character will be scaled to the new size.
  710.  
  711. If you cannot make the character big enough by moving only the lower right
  712. corner, cancel the resizing and move the entire character with Ctrl-Up or
  713. Ctrl-Left, and then resize again.
  714.  
  715. After the character is resized, you may want ensure that the left offset, top
  716. offset, and kerning (if the font is proportional) are acceptable.
  717.  
  718.  
  719.  
  720. 5.2.1.1.10.  Counterclockwise.
  721.  
  722. This is chosen from the Image Transforms menu by pressing Shift-F3. It will
  723. turn the character 90 degrees counterclockwise. It can be repeatedly pressed,
  724. and pressing it 3 times is equivalent to turning the character 90 degrees
  725. clockwise. Using this option, you can simulate the ability to print both
  726. portrait and landscape on the same page at the same time on the LaserJet II.
  727. This option can be chosen only if not in zoom mode.
  728.  
  729.  
  730.  
  731. 5.2.1.1.11.  Bolder.
  732.  
  733. This is chosen from the Image Transforms menu by pressing Shift-F4. It will
  734. add a layer of pixels one pixel deep to the surface of the character. The
  735. surface it adds to can be any combination of the top, bottom, left, or right
  736. surfaces, as controlled by the user. The surface(s) are controlled by the
  737. Bold/Thin Option, Ctrl-F4. The default value for the bold/thin option will
  738. cause a layer of pixels to be added to all four surfaces.
  739.  
  740. The bolding transformation will not change the number of rows and columns in
  741. the character box. You may find the look of the resulting bolded character
  742. more pleasing if you do the bolding in 3 steps: first, Expand the character
  743. to add blank rows around the sides (F2 from the Row/Col Ins/Del Menu);
  744. second, perform the Bolding,; third, then Trim the character (F3 from the
  745. Row/Col Ins/Del Menu) to delete the blank rows and columns around the sides.
  746.  
  747. This function can be invoked repeatedly, but it is smart enough to keep from
  748. completely filling up interior areas like the middle of the letter "O".
  749.  
  750.  
  751.           FONTEDIT, (C) by Alexander Walter                      Page 14
  752.  
  753.  
  754.  
  755.  
  756.  
  757. 5.2.1.1.12.  Bold/Thin Option
  758.  
  759. This is chosen from the Image Transforms menu by pressing Ctrl-F4. This
  760. controls a weight factor that is  used by the bolding and thinning algorithms
  761. to control which of the four directions are emboldened or thinned. Once the
  762. weight factor is changed, it stays at that value for other characters until
  763. changed again. The weights  and directions are shown below:
  764.  
  765.       Weight                 Bold                         Thin
  766.       ------                 ----                         ----
  767.         1                    Right                        Left
  768.         2                    Left                         Right
  769.         4                    Down                         Up
  770.         8                    Up                           Down
  771.  
  772. The weights can be combined. For instance, to embolden up and right, select a
  773. weight of 9. The default weight value is 15.
  774.  
  775.  
  776.  
  777. 5.2.1.2.  Area Operators
  778.  
  779. Area Operators is a choice from the Pixel Edit menu. It allows you to fill
  780. (turn "on") or clear (turn "off") a large group of pixels at once. Several
  781. types of shapes are available. Upon entering the edit mode, the status
  782. message at the top of the screen says:
  783.  
  784.               "Area fill & Clear.    Choose a shape with F keys."
  785.  
  786. The following menu choices are displayed:
  787.  
  788.   F3 = Polygon
  789.   F4 = Rectangle
  790.   F5 = Ellipse & Wedge
  791.   F6 = Parallelogram
  792.   ESC= Pixel Edit
  793.  
  794. At this point you can either choose one of the shapes shown, or escape back
  795. to pixel editing. Any area operations you have completed but now wish to undo
  796. must be undone by escaping to Pixel Editing, and then escaping from Pixel
  797. Editing back to the Main Menu. Caution - this will also undo any other
  798. unrelated editing changes for that character.
  799.  
  800. All area operations act on a character using the aspect ratios presently in
  801. use. For instance, if you choose a circular fill area operation (a special
  802. case of the ellipse fill), but the character is displayed such that it is
  803. wide and flat, the filled area will appear circular on screen. However, once
  804. is is printed, the filled area would appear more like a tall, upright ellipse
  805. rather than a circle. The default aspect ratio has been chosen to eliminate
  806. this potential problem.
  807.  
  808.  
  809.  
  810.  
  811.           FONTEDIT, (C) by Alexander Walter                      Page 15
  812.  
  813.  
  814.  
  815. 5.2.1.2.1.  Polygon Fill & Clear
  816.  
  817. Polygon fill and clear allows filling and clearing of areas of arbitrary,
  818. closed shape. The shape should be a polygon that does not loop onto itself
  819. such as a figure eight. For such a polygon, only one of the interior loops
  820. would be filled or cleared.
  821.  
  822. Upon entering Polygon Fill & Clear, the status message at the top of the
  823. screen says either:
  824.  
  825.    Polygon fill.   Left Button: Mark vertex    Right Button: Close Polygon"
  826.  
  827. if a mouse is installed, or simply:
  828.  
  829.                                 "Polygon fill."
  830.  
  831. if no mouse is installed. The menu keys display the choices:
  832.  
  833.   F10= Close Polygon(1)
  834.   RET= Mark vertex(1)
  835.   ESC= Cancel
  836.  
  837. notes:
  838.  
  839.   1. This menu choice shown only if no mouse is installed.
  840.  
  841.  
  842. To begin marking the polygon to fill or clear, go to a vertex of it and
  843. either press the left mouse button (if using a mouse), or press RETURN (if
  844. not using a mouse). Then go to each succeeding vertex in order and either
  845. press the left mouse button or press RETURN. As you select where to place the
  846. vertex, the line segment will blink to show you how it would look if the
  847. vertex were placed there. After you place the vertex, the line segment will
  848. become solid and a partially drawn polygon will be superimposed on the
  849. character displayed. At any time you can cancel the polygon fill & clear
  850. operation by pressing ESC.
  851.  
  852.  
  853. After the first vertex is marked, the menu choice "F2 = Bezier Curve" will
  854. appear. This choice allows a Bezier curve segment to be defined. This choice
  855. is described more fully below.
  856.  
  857. After you have marked each vertex, it is not necessary to go back to the
  858. first vertex; simply press the right mouse button (if using a mouse), or
  859. press F10 (if not using a mouse). The polygon will automatically be completed
  860. between the last vertex marked and the first vertex.
  861.  
  862. At this point, the character is temporarily suppressed, leaving displayed the
  863. outline of the character box and the polygon just marked. You now have the
  864. option of:
  865.  
  866.  
  867.   ---------------                     -----------------
  868.   Filling, or    \                   / polygon interior
  869.   Clearing, or    >--- either the --<        or        
  870.   XOR'ing        /                   \ polygon exterior
  871.   ---------------                     -----------------
  872.  
  873.           FONTEDIT, (C) by Alexander Walter                      Page 16
  874.  
  875.  
  876.  
  877.  
  878. If a mouse is installed, the status line will read:
  879.  
  880.           "Left Button: Fill      Right Button: Clear     Both: XOR"
  881.  
  882. The menu choices will show:
  883.  
  884.   F3 = Fill(1)
  885.   F4 = Clear(1)
  886.   F5 = XOR(1)
  887.   F6 = Tiling(2)
  888.   ESC= Cancel
  889.  
  890. notes:
  891.  
  892.   1. This menu choice shown only if no mouse is installed.
  893.   2.  his menu choice shown only for very large fonts on a VGA, AT&T, or CGA
  894.       display.
  895.  
  896.  
  897. Move the mouse or crosshairs to either the interior or exterior of the
  898. polygon, and either click the mouse or press the function keys F3, F4, or F5.
  899. After a few seconds, the character will be redrawn with the affected pixels
  900. either filled, cleared, or exclusive-ORed (XOR'ed). You will be returned back
  901. to the Area Operations menu.
  902.  
  903.  
  904.  
  905. 5.2.1.2.1.1.  Bezier Curve
  906.  
  907. This choice is enabled during Polygon Area Operations after the first point
  908. of a polygon has been chosen. Upon choosing the Bezier Curve option, you will
  909. be given the choices:
  910.  
  911.   F2 = Set Endpoint
  912.   F3 = Set C1
  913.   F4 = Set C2
  914.   F10= Curve OK
  915.   ESC= Cancel
  916.  
  917. A Bezier curve is defined by four points: the start, the end, and two control
  918. points (C1 & C2). When the  Bezier Curve option is chosen, the most recently
  919. defined polygon vertex is taken as the starting point. The other three points
  920. are chosen using the F2, F3, and F4 keys. As each point is chosen, the menu
  921. will change to read "Modify ...". For instance, after the endpoint is chosen,
  922. the menu will show "F2 = Modify Endpoint".
  923.  
  924. Once the three points are chosen, a Bezier curve will be drawn. The location
  925. of any of the three points can then be modified. While a point is being
  926. modified, the Bezier curve will "rubber-band" to show the effect of moving
  927. that point. The old location of the point will blink as a reminder of its
  928. location.
  929.  
  930.  
  931.           FONTEDIT, (C) by Alexander Walter                      Page 17
  932.  
  933.  
  934.  
  935. Once the three points have been satisfactorily set, press F10 to accept the
  936. Bezier curve. Polygon definition will continue from the ending of the Bezier
  937. curve.
  938.  
  939.  
  940.  
  941. 5.2.1.2.2.  Rectangle Fill & Clear
  942.  
  943. Rectangle fill & clear allows filling of rectangular (including square)
  944. regions, and operates in a similar  manner as polygon fill & clear, except
  945. that only the two diagonally opposite corners of the rectangle need to be
  946. marked. They can be either upper left - lower right, or lower left - upper
  947. right.
  948.  
  949. Upon entering Rectangle Fill & Clear, the status message at the top of the
  950. screen says either:
  951.  
  952.   Rectangle fill.   Left Button: 1st corner   Right Button: Opposite Corner"
  953.  
  954. if a mouse is installed, or simply:
  955.  
  956.                                "Rectangle fill."
  957.  
  958. if no mouse is installed. The menu keys display the choices:
  959.  
  960.   RET= Mark Corner(1)
  961.   ESC= Cancel
  962.  
  963. notes:
  964.  
  965.   1. This menu choice shown only if no mouse is installed.
  966.  
  967.  
  968. To begin marking the rectangle to fill or clear, go to a corner of it and
  969. either press the left mouse button (if using a mouse), or press RETURN (if
  970. not using a mouse). The first corner will blink as a marker to you. Then go
  971. to the diagonally opposite corner and either press the right mouse button or
  972. press RETURN. At any time you can cancel the rectangle fill & clear operation
  973. by pressing ESC.
  974.  
  975. At this point, the character is temporarily suppressed, leaving displayed the
  976. outline of the character box and the rectangle just marked. You now have the
  977. option of:
  978.  
  979.   ---------------                     -----------------
  980.   Filling, or    \                   / rectangle interior
  981.   Clearing, or    >--- either the --<        or        
  982.   XOR'ing        /                   \ rectangle exterior
  983.   ---------------                     -----------------
  984.  
  985. If a mouse is installed, the status line will read:
  986.  
  987.           "Left Button: Fill      Right Button: Clear     Both: XOR"
  988.  
  989. The menu choices will show:
  990.  
  991.           FONTEDIT, (C) by Alexander Walter                      Page 18
  992.  
  993.  
  994.  
  995.  
  996.   F3 = Fill(1)
  997.   F4 = Clear(1)
  998.   F5 = XOR(1)
  999.   ESC= Cancel
  1000.  
  1001. notes:
  1002.  
  1003.   1. This menu choice shown only if no mouse is installed.
  1004.  
  1005.  
  1006. Move the mouse or crosshairs to either the interior or exterior of the
  1007. rectangle, and either click the mouse or press the function keys F3, F4, or
  1008. F5. After a few seconds, the character will be redrawn with the affected
  1009. pixels either filled, cleared, or exclusive-ORed (XOR'ed). You will be
  1010. returned back to the Area Operations menu.
  1011.  
  1012.  
  1013.  
  1014. 5.2.1.2.3.  Ellipse & Wedge Fill / Clear
  1015.  
  1016. Ellipse fill & clear allows filling of elliptical (including circular)
  1017. regions, and operates in a similar manner as rectangle fill & clear, except
  1018. that only the center of the ellipse and a point on it need to be marked.
  1019.  
  1020.  
  1021. Upon entering Ellipse Fill & Clear, the status message at the top of the
  1022. screen says either:
  1023.  
  1024.               Ellipse fill.       Left Button: Center of ellipse"
  1025.  
  1026. if a mouse is installed, or:
  1027.  
  1028.             "Ellipse fill.     Go to center of Ellipse & mark it."
  1029.  
  1030. if no mouse is installed. The menu keys display the choices:
  1031.  
  1032.   F3 = Wider, Flatter
  1033.   F4 = Taller, Thinner
  1034.   F5 = Refresh Charac.
  1035.   F6 = Bigger Wedge
  1036.   F7 = Smaller Wedge
  1037.   F8 = Move Clockwise
  1038.   F9 = Move Counterclk
  1039.   F10= Ellipse OK(1)
  1040.   RET= Mark Corner(1)
  1041.   ESC= Cancel
  1042.  
  1043. notes:
  1044.  
  1045.   1. This menu choice shown only if no mouse is installed.
  1046.  
  1047.  
  1048. After you mark the center of the ellipse it will blink as a marker to you.
  1049. The status line will change to read:
  1050.  
  1051.           FONTEDIT, (C) by Alexander Walter                      Page 19
  1052.  
  1053.  
  1054.  
  1055.  
  1056.                 "Ellipse fill.       Right Button: Ellipse OK"
  1057.  
  1058. if you are using a mouse, or:
  1059.  
  1060.             "Arrow keys: Define size     F keys: Shape of Ellipse"
  1061.  
  1062. if no mouse is installed. Move the mouse cursor or crosshairs to define the
  1063. size of the ellipse; as you move, the ellipse is continually redrawn to show
  1064. you where it will go. The default shape is circular, but you can change the
  1065. shape by repeatedly pressing the F3 and/or F4 keys.
  1066.  
  1067. The F6, F7, F8, and F9 keys allow you do define a wedge instead of a full
  1068. ellipse.
  1069.  
  1070. At times, the redrawing process of ellipse may make it hard to make out the
  1071. character underneath. If this becomes the case, press F5 to refresh the
  1072. character display.
  1073.  
  1074. When you have made the ellipse the right size and shape, press the right
  1075. mouse button (if using a mouse), or the F10 key (if not using a mouse). At
  1076. this point, the character is temporarily suppressed, leaving displayed the
  1077. outline of the character box and the ellipse just marked. You now have the
  1078. option of:
  1079.  
  1080.   ---------------                     -----------------
  1081.   Filling, or    \                   / ellipse interior
  1082.   Clearing, or    >--- either the --<        or        
  1083.   XOR'ing        /                   \ ellipse exterior
  1084.   ---------------                     -----------------
  1085.  
  1086. If a mouse is installed, the status line will read:
  1087.  
  1088.           "Left Button: Fill      Right Button: Clear     Both: XOR"
  1089.  
  1090. The menu choices will show:
  1091.  
  1092.   F3 = Fill(1)
  1093.   F4 = Clear(1)
  1094.   F5 = XOR(1)
  1095.   ESC= Cancel
  1096.  
  1097. notes:
  1098.  
  1099.   1. This menu choice shown only if no mouse is installed.
  1100.  
  1101.  
  1102.  
  1103. Move the mouse or crosshairs to either the interior or exterior of the
  1104. ellipse, and either click the mouse or press the function keys F3, F4, or F5.
  1105. After a few seconds, the character will be redrawn with the affected pixels
  1106. either filled, cleared, or exclusive-ORed (XOR'ed). You will be returned back
  1107. to the Area perations menu.
  1108.  
  1109.  
  1110.  
  1111.           FONTEDIT, (C) by Alexander Walter                      Page 20
  1112.  
  1113.  
  1114.  
  1115.  
  1116. 5.2.1.2.4.  Parallelogram Fill & Clear
  1117.  
  1118. Parallelogram fill & clear allows the filling and clearing of parallelogram
  1119. areas in a manner similar to rectangle fill & clear. Two adjacent corners of
  1120. the parallelogram are first marked, as directed by the instructions on
  1121. screen. After the second corner is marked, move the crosshairs or mouse
  1122. cursor to the third corner. An outline of the parallelogram will be "rubber
  1123. banded" on screen to show the size. Mark the 3rd corner as directed by the
  1124. instructions on screen. Move the mouse or crosshairs to either the interior
  1125. or exterior of the parallelogram, and either click the mouse or press the
  1126. function keys F3, F4, or F5. After a few seconds, the character will be
  1127. redrawn with the affected pixels either filled or cleared. You will be
  1128. returned back to the Area Operations menu.
  1129.  
  1130.  
  1131.  
  1132. 5.2.1.2.5.  Pixel Edit
  1133.  
  1134. This menu choice from the Area Operations menu allows you to return to pixel
  1135. editing. While in pixel editing you can, for instance, do detailed pixel by
  1136. pixel touch-up work of the areas worked on by the area operators. At the
  1137. pixel edit menu, Alt-Z can be used to toggle zoom mode.
  1138.  
  1139.  
  1140.  
  1141. 5.2.1.3.  Clear Character
  1142.  
  1143. This function is chosen from the Pixel Edit menu. It allows you to "clear"
  1144. (turn off) all pixels within the presently displayed character box.
  1145.  
  1146.  
  1147.  
  1148. 5.2.1.4.  Row/Col Ins/Del
  1149.  
  1150. Row/Col Ins/Del allows you to change the size of the character box by
  1151. inserting or deleting rows and columns. Rows and columns are inserted or
  1152. deleted under the current location of the mouse cursor or crosshairs. By
  1153. moving the mouse or crosshairs you can insert or delete rows and columns
  1154. anywhere in the character box. When individual rows and columns are inserted,
  1155. the new row or column copies the pixels from the row or column immediately
  1156. above or to the left of the cursor. Individual pixels can still be toggled on
  1157. or off while in the Row/Col Insert/Delete mode.
  1158.  
  1159. Row/Column insert/delete acts upon the image of the character as displayed.
  1160. Since landscape fonts are displayed sideways, deleting a row on the screen
  1161. corresponds to deleting a column in the printed version of the character.
  1162.  
  1163. When inserting or deleting rows or columns, the upper left corner of the
  1164. character box is anchored. The character box grows downward and/or to the
  1165. right, and contracts upward and/or to the left. It will not grow beyond the
  1166. limits of the cell box, and you cannot contract it to zero rows or columns.
  1167. You can move the upper left corner of the character box by pressing Ctrl-Up,
  1168. Ctrl-Down, Ctrl-Left, or Ctrl-Right. If your keyboard has two sets of arrow
  1169. keys, the arrow keys on the numeric keypad must be used to move the
  1170.  
  1171.           FONTEDIT, (C) by Alexander Walter                      Page 21
  1172.  
  1173.  
  1174.  
  1175. character box.
  1176.  
  1177. When inserting rows or columns, the row or column under the mouse cursor or
  1178. crosshairs will be replicated.
  1179.  
  1180. Upon entering row/column insert/delete, the status message at the top of the
  1181. screen says:
  1182.  
  1183.    Insert & Delete Rows or Columns.    Go to row or column and use F keys."
  1184.  
  1185. The menu choices will show:
  1186.  
  1187.   F2 = Trim
  1188.   F3 = Expand
  1189.   F5 = Insert Row
  1190.   F6 = Delete Row
  1191.   F7 = Insert Column
  1192.   F8 = Delete Column
  1193.   F10= Size OK
  1194.   ESC= Cancel
  1195.  
  1196. Individual rows and columns are inserted and deleted as described above by
  1197. pressing the F5, F6, F7, or F8 keys. When finished, press F10. If you decide
  1198. not to accept the changes you made, press ESC. If you press ESC, the
  1199. character will be restored to the size it had prior to beginning row/column
  1200. insert/delete. Any editing changes made prior to beginning row/column
  1201. insert/delete will also be restored.
  1202.  
  1203.  
  1204.  
  1205. 5.2.1.4.1.  Trim
  1206.  
  1207. The Trim function will trim blank rows and columns from the outside of a
  1208. character. It is selected by pressing F3 from the Row/Col Insert/Delete menu.
  1209. It will trim all four sides, and from each direction it will stop at the
  1210. first black pixel it finds. Any blank rows or columns in the interior of the
  1211. character will not be affected. Black pixels in the original character will
  1212. still be in their same position relative to the cell box. The kerning is not
  1213. changed. If a character is completely blank, the size of the character will
  1214. not change.
  1215.  
  1216. The Trim function is also available on a font-wide basis by pressing Shift-F6
  1217. from the Font Operations menu.
  1218.  
  1219.  
  1220.  
  1221. 5.2.1.4.2.  Expand
  1222.  
  1223. The Expand function is selected by pressing F2 from the Row/Col Insert/Delete
  1224. menu. The number of rows will be expanded to the limits given by the cell
  1225. height. The rightmost column will be set to the right side of the cell box;
  1226. the leftmost column will be set to the left side of the cell box unless there
  1227. are some characters with negative left offsets. In this case, the leftmost
  1228. column will be set to the same as the leftmost character of the font.
  1229.  
  1230.  
  1231.           FONTEDIT, (C) by Alexander Walter                      Page 22
  1232.  
  1233.  
  1234.  
  1235. New rows and columns added with the Expand function will be blank. Any black
  1236. pixels in the original character will still be in their same position
  1237. relative to the cell box. The kerning is not changed.
  1238.  
  1239. The Expand function is also available on a font-wide basis by pressing
  1240. Shift-F7 from the Font Operations menu.
  1241.  
  1242. Together, the Expand and Trim functions can conveniently add extra space to a
  1243. character for editing, and then remove it to minimize the font's size and
  1244. memory requirements in the printer.
  1245.  
  1246.  
  1247.  
  1248. 5.2.1.5.  Cut & Paste
  1249.  
  1250. This function is chosen from the Pixel Edit menu by pressing F6. It allows
  1251. you to copy selected rectangular portions of a character to other parts of
  1252. that same character, or to and from a clipboard. The clipboard allows you to
  1253. transfer portions of a character to other characters. The copy can be made to
  1254. cover-up, logical OR, logical AND, or logical XOR the underlying pixels.
  1255. Optionally, you can delete the original portion of the character being
  1256. copied.
  1257.  
  1258. An example of usage would be to move an accent over a character if you find
  1259. it isn't placed correctly. Or, to make an umlaut (double dots over a
  1260. character), you could copy the first dot, ensuring that both dots will be the
  1261. same size.
  1262.  
  1263. Cutting a portion of a character can be done for any row and column
  1264. magnification values (see section 5.3.12 for an explanation of changing the
  1265. magnification values). However, when pasting from the clipboard, the
  1266. magnification values must be the same as when the image was pasted into the
  1267. clipboard. For cutting and pasting when NOT in Zoom mode, this will be
  1268. transparent, since the same magnification values are used for each character.
  1269. For Zoom mode, each letter is initially displayed with different
  1270. magnification values based on its size. In this case, care should be takes to
  1271. make sure the magnification values are the same, and if necessary change them
  1272. using Shift-F3 from the Main Menu as described in section 5.3.12.
  1273.  
  1274. When entering Cut & Paste, if you have already placed something into the
  1275. clipboard, and if the contents would fit within the character being edited,
  1276. you will be asked if you want to use the clipboard's contents. The default
  1277. answer is no. If you choose yes, the clipboard contents will be shown
  1278. blinking, and you can continue placing the contents as described below.
  1279.  
  1280. If you answer no, or if the clipboard was empty, you will be asked to mark
  1281. the first corner either by clicking the left mouse button (if using a mouse),
  1282. or by pressing ENTER (if no mouse). This will be one corner of a rectangular
  1283. area to be copied. Then as you move the mouse or crosshairs, a box will
  1284. rubber-band showing the size of the rectangular area to be copied. Mark the
  1285. diagonally opposite corner by pressing the right mouse button (or by pressing
  1286. ENTER if no mouse). It is not necessary to try to click the mouse on the
  1287. corner of a pixel. You can click anywhere in the pixels which are to be the
  1288. corners. FONTEDIT will include that entire pixel.
  1289.  
  1290.  
  1291.           FONTEDIT, (C) by Alexander Walter                      Page 23
  1292.  
  1293.  
  1294.  
  1295. Upon marking both corners, the status message at the top of the screen says
  1296. either:
  1297.  
  1298.    "Left Button: OR Copy     Right Button: Cover-Up Copy     Both: XOR Copy"
  1299.  
  1300. if a mouse is installed, or:
  1301.  
  1302.                   "Press F4, F5, or F6 when placement is OK."
  1303.  
  1304. if no mouse is installed. The menu keys display the choices:
  1305.  
  1306.   F2 = Cut / Uncut
  1307.   F4 = OR Copy(1)
  1308.   F5 = Cover-Up Copy(1)
  1309.   F6 = XOR Copy(1)
  1310.   F7 = AND Copy(1)
  1311.   F8 = To Clipboard
  1312.   F9 = From Clipboard(2)
  1313.   ESC= Cancel
  1314.  
  1315. notes:
  1316.  
  1317.   1.  This menu choice shown only if no mouse is installed.
  1318.   2.  This menu choice shown only if something has already been copied to the
  1319.       clipboard.
  1320.  
  1321.  
  1322. The image being copied will blink. Use the mouse, or arrow keys and PgUp,
  1323. PgDn, Tab, and Shift-Tab keys to position the copy. Pressing F2 toggles
  1324. whether the original image is erased or kept. When the position is OK, choose
  1325. the OR, Cover-Up, or XOR copy.
  1326.  
  1327. The OR copy copies the rectangular image such that the pixels underneath are
  1328. turned "on" if they were "on" originally, or if the image being copied has
  1329. that pixel turned "on".
  1330.  
  1331. The Cover-Up copy copies the rectangular image such that the pixels
  1332. underneath become an exact replica of the rectangular image. Any pixels in
  1333. the rectangular image which were "off" will stay "off" with the Cover-Up
  1334. copy, regardless of whether the pixels underneath were "on" or "off".
  1335.  
  1336. The XOR copy copies the rectangular image such that the pixels underneath are
  1337. eXclusive-ORed with the pixels in the image being copied. Any "on" pixels in
  1338. the copy will reverse the on/off state of the pixel originally underneath.
  1339. Any "off" pixels in the copy will not affect the pixel originally underneath.
  1340.  
  1341. The AND copy copies the rectangular image such that the pixels underneath are
  1342. "on" only if both they  originally were "on" and if the image from the
  1343. clipboard has an "on" pixel in that location.
  1344.  
  1345. You can copy the image to the clipboard in case you want to paste it to
  1346. another character. Or, if an image has previously been copied to the
  1347. clipboard, you can substitute it for the image now blinking.
  1348.  
  1349.  
  1350.  
  1351.           FONTEDIT, (C) by Alexander Walter                      Page 24
  1352.  
  1353.  
  1354.  
  1355.  
  1356. 5.2.1.6.  Adjust Kerning
  1357.  
  1358. This function is chosen from the Pixel Edit menu. It allows you to adjust the
  1359. character spacing for proportional fonts. This function will not be displayed
  1360. or activated if the font is a fixed-width font, or if zoom mode is active.
  1361.  
  1362. When activated, a blinking line indicates the start of the next character
  1363. when the displayed character is printed. Use either the mouse (if installed)
  1364. or the arrow keys to move the line. The arrow keys will change the kerning
  1365. value in increments of 4. Since the units of kerning is in terms of a
  1366. quarter-pixel, each press of an arrow key is equivalent to one pixel. Since
  1367. the LaserJet Series II printer rounds the kerning value to the nearest whole
  1368. pixel anyways, a finer resolution on the arrow keys would be ineffective.
  1369.  
  1370. F10 or clicking the mouse accepts the new kerning value; ESC cancels the
  1371. function.
  1372.  
  1373.  
  1374.  
  1375. 5.2.1.7.  Quit & Save
  1376.  
  1377. This function saves your editing changes to this character, terminates Pixel
  1378. Editing, and returns you to the main menu.
  1379.  
  1380.  
  1381.  
  1382. 5.2.1.8.  Toggle Pixel
  1383.  
  1384. This function can be chosen only if using FONTEDIT without a mouse. It allows
  1385. you to toggle the pixel underneath the crosshairs either on or off.
  1386.  
  1387.  
  1388.  
  1389. 5.2.1.9.  Quit, no Save
  1390.  
  1391. This function terminates Pixel Editing and returns you to the main menu
  1392. without saving any of your changes to the character displayed.
  1393.  
  1394.  
  1395.  
  1396. 5.2.2.  Zoom / Unzoom
  1397.  
  1398. The zoom function enlarges the displayed character by suppressing the display
  1399. of the cell box, and expanding the character box to as large a size as
  1400. possible without regard to maintaining any particular ratio of width to
  1401. height. While in zoom mode, the character box cannot be moved within the cell
  1402. box, kerning cannot be adjusted, and several of the image transformations
  1403. listed earlier in the paragraph describing the "Image Transformations" menu
  1404. cannot be used. All other editing functions can be used in zoom mode. Zoom
  1405. mode can also be toggled by pressing ALT-Z.
  1406.  
  1407. If already in zoom mode, the menu will instead say "Unzoom". Unzooming
  1408. restores the display of the cell box and re-enables editing functions
  1409. disabled during zoom mode.
  1410.  
  1411.           FONTEDIT, (C) by Alexander Walter                      Page 25
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418. 5.2.3.  Font Operators
  1419.  
  1420. This selection allows changing parameters of the entire font. The
  1421. transformations selected using the CTRL  and Shift keys work very similarly
  1422. to the same choices under the Pixel Edit - Image Transformation menu, except
  1423. that the transformation will now be done for each character in the font. For
  1424. instance, CTRL-F5 will make a mirror image of each character. Once these
  1425. transformations have begun, they can be stopped midway by pressing Escape,
  1426. but characters which have already been transformed will remain transformed.
  1427. If you do stop in the middle, you can control what ASCII value to restart
  1428. from by using the "start ASCII" parameter described below.
  1429.  
  1430. Global transformations can be sped up by selecting a smaller size for the row
  1431. & column expansion values. They are changed by pressing Shift-F3 from the
  1432. Main Menu, and will make the displayed character smaller on the screen. It
  1433. does not change the size of the font when printed on paper. By making the
  1434. character smaller on the screen, there are fewer bytes that need to be
  1435. shuffled around the VGA memory, and the graphic algorithms that perform the
  1436. image transformations will run faster.
  1437.  
  1438. Upon selection of Font Operators, the following menu choices will be
  1439. available:
  1440.  
  1441. NO SHIFT or CTRL             SHIFT only                CTRL only
  1442. -------------------------    ----------------------    ---------------------
  1443.   F1 =                       F1 =                      F1 = Counterclockwise
  1444.   F2 = New Cell Width        F2 = New Symbol Set       F2 = Invert
  1445.   F3 = New Cell Height       F3 = New Typeface         F3 = Hollow
  1446.   F4 = Create New Font       F4 = New Font Comment     F4 = Thinner
  1447.   F5 = Make Landscape(1)     F5 = Bold/Thin Option     F5 = Mirror Image
  1448.   F6 = Make Fixed Width(2)   F6 = Trim All             F6 = Upside-Down
  1449.   F7 = New Pitch (HMI)       F7 = Expand All           F7 = Slant
  1450.   F8 = New VMI               F8 = Resize All           F8 = Tilt
  1451.   F9 = New Point Size        F9 =                      F9 = Drop Shadow
  1452.   F10= Move Baseline         F10=                      F10= Bolder
  1453.   RET= Move Underline        RET=                      RET= Start ASCII
  1454.   ESC= Main Menu             ESC= Main Menu            ESC= Main Menu
  1455.  
  1456. notes:
  1457.  
  1458.   1. If the font is already landscape, this will say "Make Portrait".
  1459.   2. If font is already fixed width, this will say "Make Propor."
  1460.  
  1461.  
  1462.  
  1463. 5.2.3.1.  New Cell Width
  1464.  
  1465. This function is chosen by pressing F2 from the Font Operations Menu. This
  1466. changes the cell width, which is the maximum width a character in the font
  1467. can have. The allowable values for the new cell width are presented as a
  1468. range; the lower bound is determined by the maximum character width and
  1469. offset for all of the defined ASCII values in the font. The maximum depends
  1470.  
  1471.           FONTEDIT, (C) by Alexander Walter                      Page 26
  1472.  
  1473.  
  1474.  
  1475. on screen resolution. Note that if the new cell width is chosen very wide for
  1476. a portrait font (>187 for CGA, >331 for EGA, >459 for VGA), you won't be able
  1477. to convert the font to landscape using FONTEDIT.
  1478.  
  1479.  
  1480.  
  1481. 5.2.3.2.  New Cell Height
  1482.  
  1483. This function is chosen by pressing F3 from the Font Operations Menu. This
  1484. changes the cell height, which is the maximum height a character in the font
  1485. can have. The allowable values for the new cell height are presented as a
  1486. range; the lower bound is determined by the maximum character height and
  1487. offset for all of the defined ASCII values in the font. The maximum is a
  1488. function of screen resolution. Note that if the new cell height is chosen
  1489. very tall for a landscape font (>187 for CGA, >331 for EGA, >459 for VGA),
  1490. you won't be able to convert the font to portrait using FONTEDIT. Similarly,
  1491. if the cell height of a portrait font is made >467, you won't be able to
  1492. convert the font to landscape.
  1493.  
  1494.  
  1495.  
  1496. 5.2.3.3.  Create New Font
  1497.  
  1498. This function is chosen by pressing F4 from the Font Operations Menu. This
  1499. creates a new font from scratch. You will be led through a series of
  1500. questions to establish the following font parameters:
  1501.  
  1502.   -   Cell Width
  1503.   -   Cell Height
  1504.   -   Baseline
  1505.   -   Orientation (portrait/landscape)
  1506.   -   Spacing (fixed/proportional)
  1507.   -   Default Horizontal Motion Index, HMI
  1508.   -   Point Size
  1509.   -   Underline Distance
  1510.  
  1511.  
  1512.  
  1513. 5.2.3.4.  Make Landscape / Make Portrait
  1514.  
  1515. This function is chosen by pressing F5 from the Font Operations Menu. This
  1516. option from the Main menu will convert the entire font to landscape (if
  1517. presently portrait) or to portrait if presently landscape. The entire process
  1518. can take several minutes. Once begun, this process cannot be halted. A status
  1519. of the percentage completed is displayed at the top.
  1520.  
  1521.  
  1522.  
  1523. 5.2.3.5.  Make Fixed Width / Make Propor.
  1524.  
  1525. This function is chosen by pressing F6 from the Font Operations Menu. This
  1526. converts a font between fixed width and proportional. If it is being made
  1527. proportional, the kerning for each character is automatically set to two
  1528. pixels beyond the right of each character.
  1529.  
  1530.  
  1531.           FONTEDIT, (C) by Alexander Walter                      Page 27
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537. 5.2.3.6.  New Pitch (HMI)
  1538.  
  1539. This function is chosen by pressing F7 from the Font Operations Menu. This
  1540. changes the default HMI, which is the horizontal motion (pitch) the printer
  1541. makes when it tries to print a character not defined in the font. For
  1542. instance, ASCII 32 (the space character) is usually not defined in a font.
  1543. The pitch is defined in units of a quarter-pixel, 1200 per inch.
  1544.  
  1545.  
  1546.  
  1547. 5.2.3.7.  New VMI
  1548.  
  1549. This function is chosen by pressing F8 from the Font Operations Menu. This
  1550. changes the default VMI field in the font header, which may be used by some
  1551. programs supporting soft fonts to set the vertical motion the printer makes
  1552. when it goes to a new line. The VMI is defined in units of a quarter-pixel,
  1553. 1200 per inch. When converted to points (1/72nd of an inch), this is a common
  1554. measure of the size of a font. The printer's line spacing can be set to
  1555. different values than what is specified in the VMI field.
  1556.  
  1557. When FONTEDIT downloads a font to the printer, it instead uses the cell
  1558. height to set the line spacing. Changing the VMI will not change the line
  1559. spacing when FONTEDIT downloads it.
  1560.  
  1561. Choosing this option will not automatically scale the existing characters in
  1562. the font. That is done using the "New Point Size" option described below.
  1563.  
  1564.  
  1565.  
  1566. 5.2.3.8.  New Point Size
  1567.  
  1568. This function is chosen by pressing F9 from the Font Operations Menu. New
  1569. Point Size is a choice from the Main Menu. It allows you to change the point
  1570. size of the entire font, either bigger or smaller. An attempt is made to
  1571. smooth the characters and reduce the "jaggies" that would otherwise result.
  1572. Each new character is displayed on the screen as it is processed.
  1573.  
  1574. The larger the point size, the longer the process takes. Once begun, the
  1575. process cannot be halted. However, when you are initially asked to supply a
  1576. new point size, you can cancel this function by pressing ESC or by inputting
  1577. the present font size as displayed in the Font Information area at the middle
  1578. right of the screen.
  1579.  
  1580.  
  1581.  
  1582. 5.2.3.9.  Move Baseline
  1583.  
  1584. This function is chosen by pressing F10 from the Font Operations Menu. This
  1585. option moves the baseline. The allowable values for the new baseline are
  1586. presented as a range; the bounds are determined by a combination of character
  1587. height, width, left offset, and top offset for all of the defined ASCII
  1588. values in the font. If some characters in the font such as an underscore
  1589. (ASCII 95) occupy the last row of the cell box, and other characters such as
  1590.  
  1591.           FONTEDIT, (C) by Alexander Walter                      Page 28
  1592.  
  1593.  
  1594.  
  1595. "|" occupy the top row of the character box, the baseline cannot be moved
  1596. without first changing the offsets for those characters or resizing the cell
  1597. box.
  1598.  
  1599.  
  1600.  
  1601. 5.2.3.10.  Move Underline
  1602.  
  1603. This function is chosen by pressing RETURN from the Font Operations Menu. It
  1604. will move the position of the underlining. It is not related to the
  1605. underscore character, ASCII 95, so if a program using the font implements
  1606. underlining by using underscores, this function will not change that
  1607. underline.
  1608.  
  1609.  
  1610.  
  1611. 5.2.3.11.  Main Menu
  1612.  
  1613. This returns you to the Main Menu.
  1614.  
  1615.  
  1616.  
  1617. 5.2.3.12.  New Symbol Set
  1618.  
  1619. This function is chosen by pressing Shift-F2 from the Font Operations Menu.
  1620. This only changes the symbol set defined in the font header. It does not
  1621. actually change any of the bitmaps for the characters in the font. Since the
  1622. LaserJet uses the symbol set for its highest priority match when selecting
  1623. which downloaded font to use when printing, changing the symbol set will
  1624. require your application software (i.e., word processors, etc.) to use the
  1625. correct symbol set when selecting this font.
  1626.  
  1627. The new symbol set is chosen numerically, but the prompt will show the
  1628. fragment of the PCL sequence corresponding to this numeric value.
  1629.  
  1630.  
  1631.  
  1632. 5.2.3.13.  New Typeface
  1633.  
  1634. This function is chosen by pressing Shift-F3 from the Font Operations Menu.
  1635. This only changes the typeface defined in the font header. It does not
  1636. actually change any of the bitmaps for the characters in the font. Changing
  1637. the typeface may require your application software (i.e., word processors,
  1638. etc.) to be aware of the new typeface value when selecting this font. When
  1639. the LaserJet selects a font to use, the typeface value is given a lower
  1640. priority than the symbol set.
  1641.  
  1642. When installing a bitmapped font with Windows 3.1 (see section 6.3), the name
  1643. for the font that Windows uses is derived from this typeface field.
  1644.  
  1645. The mapping of typeface number to typeface name (i.e., 4=Helvetica, 5=Times
  1646. Roman, 7=Script, etc.) is given in Table B-3 of the PCL 5 Comparison Guide,
  1647. available from Hewlett-Packard. There are at least 463 typefaces assigned.
  1648. This list is also available by me, Alexander Walter, upon special request to
  1649. registered users of the enhanced version of FONTEDIT.
  1650.  
  1651.           FONTEDIT, (C) by Alexander Walter                      Page 29
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658. 5.2.3.14.  New Font Comment
  1659.  
  1660. This function is chosen by pressing Shift-F4 from the Font Operations Menu.
  1661. This allows you to change up to 40 characters of the font comment embedded in
  1662. the font header.
  1663.  
  1664.  
  1665.  
  1666. 5.2.3.15.  Bold/Thin Option
  1667.  
  1668. This function is chosen by pressing Shift-F5 from the Font Operations Menu.
  1669. It selects the direction(s) that the bolding and thinning algorithms will do
  1670. their job, and it works exactly as described under the Image Transformations
  1671. Menu.
  1672.  
  1673.  
  1674.  
  1675. 5.2.3.16.  Trim All
  1676.  
  1677. This function is chosen by pressing Shift-F6 from the Font Operations Menu.
  1678. It applies on a font-wide basis the Trim function described under the Row/Col
  1679. Ins/Del paragraph.
  1680.  
  1681.  
  1682.  
  1683. 5.2.3.17.  Expand All
  1684.  
  1685. This function is chosen by pressing Shift-F7 from the Font Operations Menu.
  1686. It applies on a font-wide basis the Expand function described under the
  1687. Row/Col Ins/Del paragraph.
  1688.  
  1689.  
  1690.  
  1691. 5.2.3.18.  Resize All
  1692.  
  1693. This function is chosen by pressing Shift-F8 from the Font Operations Menu.
  1694. This changes the size of all characters by a fixed number of pixels
  1695. horizontally and/or vertically. The amount of change in the two directions is
  1696. controlled independently. The font can be globally resized by up to +/- 20
  1697. pixels at a time for each character.  A positive change is down or right; a
  1698. negative change is up or left. 
  1699.  
  1700. Characters cannot be globally resized to fewer than 5 rows or columns. If
  1701. resizing an individual character, the Tab, Shift-Tab, PgUp, PgDn keys, or the
  1702. mouse, can be used to resize to fewer than 5 rows or columns. A character
  1703. also cannot be resized beyond the boundaries of the cell box, so if the
  1704. global resizing would expand a particular character beyond this limit, that
  1705. character will be resized only as far as possible.
  1706.  
  1707. After choosing this function, you will first be asked to provide a horizontal
  1708. change in the range of +/- 20 pixels. You can press Escape to abort. After
  1709. entering the horizontal change, you will be asked to input the vertical
  1710.  
  1711.           FONTEDIT, (C) by Alexander Walter                      Page 30
  1712.  
  1713.  
  1714.  
  1715. change. When you press Enter, the global resizing will commence. As usual,
  1716. the top left corner of the character is anchored, and the bottom and right
  1717. sides will change. 
  1718.  
  1719.  
  1720.  
  1721. 5.2.3.19.  Counterclockwise
  1722.  
  1723. This works just like its counterpart under the Image Transformations menu,
  1724. except that this will operate on all characters having an ASCII value equal
  1725. to or greater than the start ASCII parameter described below. The default
  1726. value for start ASCII is 0. 
  1727.  
  1728. An example of when you would want to rotate a font this way is to be able to
  1729. print in columns from top to bottom, instead of rows left to right.
  1730.  
  1731.  
  1732.  
  1733. 5.2.3.20.  Invert
  1734.  
  1735. This works just like its counterpart under the Image Transformations menu,
  1736. except that this will operate on all characters having an ASCII value equal
  1737. to or greater than the start ASCII parameter described below. The default
  1738. value for start ASCII is 0.
  1739.  
  1740.  
  1741.  
  1742. 5.2.3.21.  Hollow.
  1743.  
  1744. This works just like its counterpart under the Image Transformations menu,
  1745. except that this will operate on all characters having an ASCII value equal
  1746. to or greater than the start ASCII parameter described below. The default
  1747. value for start ASCII is 0.
  1748.  
  1749.  
  1750.  
  1751. 5.2.3.22.  Thinner.
  1752.  
  1753. This works just like its counterpart under the Image Transformations menu,
  1754. except that this will operate on all characters having an ASCII value equal
  1755. to or greater than the start ASCII parameter described below. The default
  1756. value for start ASCII is 0.
  1757.  
  1758.  
  1759.  
  1760. 5.2.3.23.  Mirror Image.
  1761.  
  1762. This works just like its counterpart under the Image Transformations menu,
  1763. except that this will operate on all characters having an ASCII value equal
  1764. to or greater than the start ASCII parameter described below. The default
  1765. value for start ASCII is 0.
  1766.  
  1767.  
  1768.  
  1769. 5.2.3.24.  Upside-Down
  1770.  
  1771.           FONTEDIT, (C) by Alexander Walter                      Page 31
  1772.  
  1773.  
  1774.  
  1775.  
  1776. This works just like its counterpart under the Image Transformations menu,
  1777. except that this will operate on all characters having an ASCII value equal
  1778. to or greater than the start ASCII parameter described below. The default
  1779. value for start ASCII is 0.
  1780.  
  1781.  
  1782.  
  1783. 5.2.3.25.  Slant.
  1784.  
  1785. This works similarly to its counterpart under the Image Transformations menu,
  1786. except that this will operate on all characters having an ASCII value equal
  1787. to or greater than the start ASCII parameter described below. The default
  1788. value for start ASCII is 0.
  1789.  
  1790. Since a character after slanting cannot extend outside the cell box, the
  1791. sizes of all characters at and above the start ASCII value will be checked to
  1792. see what the maximum allowable slant would be. The desired amount of slant in
  1793. units of pixels is entered numerically, with positive numbers being a
  1794. rightward slant, and negative numbers being a leftward slant. If the
  1795. allowable amount of slant is not enough, try increasing the font's cell width
  1796. and/or cell height.
  1797.  
  1798.  
  1799.  
  1800. 5.2.3.26.  Tilt.
  1801.  
  1802. This works just like its counterpart under the Image Transformations menu,
  1803. except that this will operate on all characters having an ASCII value equal
  1804. to or greater than the start ASCII parameter described below. The default
  1805. value for start ASCII is 0.
  1806.  
  1807. Since a character after tilting cannot extend outside the cell box, the sizes
  1808. of all characters at and above the start ASCII value will be checked to see
  1809. what the maximum allowable tilt would be. The desired amount of tilt in units
  1810. of pixels is entered numerically, with positive numbers being a downward
  1811. tilt, and negative numbers being an upward tilt. If the allowable amount of
  1812. tilt is not enough, try increasing the font's cell width and/or cell height.
  1813.  
  1814.  
  1815.  
  1816. 5.2.3.27.  Drop Shadow.
  1817.  
  1818. This works just like its counterpart under the Image Transformations menu,
  1819. except that this will operate on all characters having an ASCII value equal
  1820. to or greater than the start ASCII parameter described below. The default
  1821. value for start ASCII is 0.
  1822.  
  1823. For guidance on entering the horizontal and vertical offsets, see the
  1824. discussion above for slant and tilt.
  1825.  
  1826.  
  1827.  
  1828. 5.2.3.28.  Bolder.
  1829.  
  1830.  
  1831.           FONTEDIT, (C) by Alexander Walter                      Page 32
  1832.  
  1833.  
  1834.  
  1835. This works just like its counterpart under the Image Transformations menu,
  1836. except that this will operate on all characters having an ASCII value equal
  1837. to or greater than the start ASCII parameter described below. The default
  1838. value for start ASCII is 0.
  1839.  
  1840.  
  1841.  
  1842. 5.2.3.29.  Start ASCII
  1843.  
  1844. This displays the current value of the starting ASCII variable, and allows
  1845. you to change it. This variable defines the starting ASCII value for which
  1846. the font transformations will be applied. Some ASCII values are 48 for "0",
  1847. 65 for "A", and 97 for "a".
  1848.  
  1849. The inputted number is interpreted as decimal by default. To input a
  1850. hexadecimal number, prefix it with "&h", and to input an octal number, prefix
  1851. it by "&o". For instance, to choose "A" (65 decimal, 41 hex, or 101 octal),
  1852. enter either "65", "&h41", or "&o101".
  1853.  
  1854. During global transformations, if you want to stop the processing at a
  1855. particular ASCII value instead of letting it run to the end of the font,
  1856. simply press Escape while FONTEDIT is transforming the last character you
  1857. want to have transformed.
  1858.  
  1859.  
  1860.  
  1861. 5.2.4.  Replicate
  1862.  
  1863. This function replicates the currently displayed character to another ASCII
  1864. value. The new ASCII value must be one which is currently undefined. If
  1865. necessary, first delete the ASCII character to be overwritten by using F8
  1866. from the Main Menu.
  1867.  
  1868. Upon choosing the Replicate function, you will be presented a list of unused
  1869. ASCII characters. When you choose one, the ASCII character which was
  1870. displayed prior to choosing Replicate will be copied to the new ASCII value,
  1871. and you will be in Pixel Edit mode for the new character.
  1872.  
  1873.  
  1874.  
  1875. 5.2.5.  New Font
  1876.  
  1877. New Font is a choice made from the Main Menu, and can be made only if the the
  1878. font file being edited contains multiple font definitions. If it does and you
  1879. select New Font, you will be presented a list of the available fonts along
  1880. with their point size and orientation (portrait or landscape). Make your
  1881. choice by number. You will be returned to the Main Menu, and if "A" is
  1882. defined in the new font, it will be displayed.
  1883.  
  1884.  
  1885.  
  1886. 5.2.6.  Create New Char.
  1887.  
  1888. Create New Character is a choice from the Main Menu. It allows you to define
  1889. characters for ASCII values which previously had no symbol in the font. All
  1890.  
  1891.           FONTEDIT, (C) by Alexander Walter                      Page 33
  1892.  
  1893.  
  1894.  
  1895. members of the LaserJet family can print characters with ASCII values from 32
  1896. - 127, and 160 - 255 inclusive. Additionally, the LaserJet Series II and
  1897. above can print characters with ASCII values from 1 - 6, 16 - 26, and 28 -
  1898. 255 inclusive. FONTEDIT supports the creation and editing of all of these
  1899. ASCII values.
  1900.  
  1901. When you choose the Create New Character option, you will be presented a list
  1902. of the available, unused ASCII values in the font. To pick, point and shoot
  1903. with the mouse, or else if no mouse is installed, move the reverse-video
  1904. highlight with the arrow keys and press ENTER. As a shortcut, you can press
  1905. the character's button rather than click on the ASCII value. For instance, if
  1906. you want to create the digit "1" (assuming it doesn't already exist), you can
  1907. either click on the ASCII value of 49, or you can press the "1" on your
  1908. keyboard when you see the list of ASCII values. Press ESC at any time to
  1909. cancel back to the Main Menu.
  1910.  
  1911. After you pick an ASCII value to define, FONTEDIT will create a blank
  1912. character with a default size of half the cell box width and half the cell
  1913. box height. You will then be put into Pixel Editing mode, where all the pixel
  1914. editing tools, including resizing the character box and moving it around
  1915. within the cell box, are available to you. When you are done, exit from Pixel
  1916. Editing as usual, and you will be at the Main Menu.
  1917.  
  1918. If at this point you change your mind about defining a new character, you can
  1919. delete it using the Delete Character option described below.
  1920.  
  1921.  
  1922.  
  1923. 5.2.7.  Delete Character
  1924.  
  1925. Delete Character is a choice from the Main Menu. It allows you to delete the
  1926. definition of a character from the font after confirmation from the user. The
  1927. definition of the character is removed from the font file, and the font file
  1928. will become smaller. The deleted ASCII value becomes available to the Create
  1929. New Character option.
  1930.  
  1931.  
  1932.  
  1933. 5.2.8.  Printer Support
  1934.  
  1935. This selection allows you to print either text files or text echoed from the
  1936. keyboard, using either the soft font being edited or one of the built-in
  1937. fonts in the LaserJet. All printer output is directed to the DOS device PRN.
  1938. Upon choosing this option, the Status Line will read:
  1939.  
  1940.                    Download Font & Other Printer Functions"
  1941.  
  1942. the menu choices will read:
  1943.  
  1944.   F2 = Download Font
  1945.   F3 = Print File
  1946.   F4 = Echo Text
  1947.   F5 = Page Eject
  1948.   F6 = Select Font ID(1)
  1949.   F7 = Built-in Fonts
  1950.   ESC= Main Menu
  1951.           FONTEDIT, (C) by Alexander Walter                      Page 34
  1952.  
  1953.  
  1954.  
  1955.  
  1956. notes:
  1957.  
  1958.   1. Shown only if there is no font ID already embedded in the font file.
  1959.  
  1960.  
  1961.  
  1962. 5.2.8.1.  Download Font
  1963.  
  1964. This downloads the font to the printer and automatically selects it until
  1965. further notice for subsequent text to be printed. Font ID 1 is automatically
  1966. assigned unless a font ID is already embedded within the font.
  1967.  
  1968.  
  1969.  
  1970. 5.2.8.2.  Print File
  1971.  
  1972. This prints a text file from disk using the latest font selected, either the
  1973. downloaded font or a built-in font. Wildcards can be used when selecting the
  1974. file.
  1975.  
  1976.  
  1977.  
  1978. 5.2.8.3.  Echo Text
  1979.  
  1980. This will echo text from the keyboard to the printer using the latest font
  1981. selected, either the downloaded font or a built-in font. Each line is sent to
  1982. the printer only when RETURN is pressed. A page will not be ejected until F5
  1983. is pressed or until the page is full.
  1984.  
  1985.  
  1986.  
  1987. 5.2.8.4.  Eject Page
  1988.  
  1989. This sends a form feed character (ASCII 12) to the printer.
  1990.  
  1991.  
  1992.  
  1993. 5.2.8.5.  Select Font ID
  1994.  
  1995. This allows a font ID to be chosen for use when downloading the font to the
  1996. printer. This choice is seen only if there is no font ID already embedded in
  1997. the font. The new font ID can be chosen from the range 1 to 99, with a
  1998. default value of 1. It is not necessary to specify a font ID before
  1999. downloading; "1" will be used by default if no other font IDs have been
  2000. issued.
  2001.  
  2002.  
  2003.  
  2004. 5.2.8.6.  Built-in Fonts
  2005.  
  2006. This choice will allow selecting one of the following fonts, the first 6 of
  2007. which are internal to the LaserJet:
  2008.  
  2009.           FONTEDIT, (C) by Alexander Walter                      Page 35
  2010.  
  2011.  
  2012.  
  2013.   -   Portrait Courier
  2014.   -   Bold Portrait Courier
  2015.   -   Portrait TTY
  2016.   -   Landscape Courier
  2017.   -   Bold Landscape Courier
  2018.   -   Landscape TTY
  2019.   -   Previous soft font (only if one has already been downloaded)
  2020.  
  2021. Note that switching between a landscape and a portrait font will cause the
  2022. LaserJet to eject a page.
  2023.  
  2024.  
  2025.  
  2026. 5.2.9.  Import TIFF
  2027.  
  2028. This selection allows TIFF graphics to be imported to unused ASCII values. If
  2029. necessary, first delete the old character using the "Delete Char." option
  2030. from the Main Menu. Note that PCX is the preferred format for importing from
  2031. a graphics image.
  2032.  
  2033. The TIFF image must be black and white; color images aren't supported. The
  2034. image can be uncompressed or packed (Huffman coded), but FAX compression
  2035. isn't supported.
  2036.  
  2037. After specifying the TIFF filename from which to import, you will then see a
  2038. list of unused ASCII values in the current font being edited. Choose which
  2039. one will receive the imported character. As a shortcut, you can press the
  2040. character's button rather than click on the ASCII value. For instance, if you
  2041. want to import the TIFF graphics to the digit "1", you can either click on
  2042. the ASCII value of 49, or you can press the "1" on your keyboard when you see
  2043. the list of ASCII values.
  2044.  
  2045. If the image is smaller than the cell box, it will be imported immediately
  2046. and centered in the cell box.
  2047.  
  2048. If the image is larger than the cell box width or height, a portion of it
  2049. must be chosen for importing. In this case, the image will be displayed on
  2050. the screen. If it is too tall to display using the present display mode (>187
  2051. for CGA, >331 for EGA, >459 for VGA), the bottom will be clipped off. Also,
  2052. if the image is less than 638 pixels across, it will be displayed as is.
  2053. However, if it is wider than this, you will be presented a compressed image
  2054. in which each pixel displayed represents an average of 8 adjacent pixels on
  2055. that row.
  2056.  
  2057. In any event, if the TIFF image is larger than the cell box width or height,
  2058. a blinking box will appear. If the TIFF width is less than 638 pixels, the
  2059. blinking box represents the cell box size, and can be moved anywhere around
  2060. the image using the mouse or arrow keys.
  2061.  
  2062. If the TIFF width is greater than 638 pixels, the blinking box represents
  2063. which subportion of the TIFF image should be expanded for further
  2064. examination; the box is sized to represent how much of the image can be shown
  2065. uncompressed on the screen. The message at the top will direct you to press
  2066. F3 when the box is positioned correctly. Upon pressing F3, that portion of
  2067. the compressed image will be uncompressed to its full screen size, and the
  2068.  
  2069.           FONTEDIT, (C) by Alexander Walter                      Page 36
  2070.  
  2071.  
  2072.  
  2073. blinking box will be resized to represents the cell box size.
  2074.  
  2075. The compressed image may not display reliably in EGA mode. If there are any
  2076. problems in EGA mode, try using CGA mode. This is forced by using the "/cga"
  2077. switch when starting FONTEDIT.
  2078.  
  2079. When you have positioned the box over the portion of the TIFF image to
  2080. import, click the mouse or press F10. If the cell box is too small to cover
  2081. the portion of the image you want to import, you can either cancel and go to
  2082. the Font Operators menu to change the Cell Width or Cell Height, or you can
  2083. shrink the image using any paint software you have.
  2084.  
  2085. After the image is imported, you are put into Pixel Edit mode. You can clean
  2086. up the image, delete rows or columns, etc. Very commonly with images from a
  2087. hand scanner, the image will be slightly crooked since it is hard to hold the
  2088. scanner for a perfectly straight and level scan. In this case, you can use
  2089. the Slant and Tilt options from the Image Transforms menu to help fix the
  2090. image. You will not be allowed to quit from pixel editing without saving the
  2091. character. If you truly want to discard the imported character, you can
  2092. choose the "Delete Char." option from the Main Menu.
  2093.  
  2094.  
  2095.  
  2096. 5.2.10.  Quit
  2097.  
  2098. Quit is a choice from the main menu. It allows you to exit from FONTEDIT, and
  2099. in the enhanced version of FONTEDIT it will write the changes you made to the
  2100. font file.
  2101.  
  2102.  
  2103.  
  2104. 5.2.11.  VGA Text Colors
  2105.  
  2106. With some VGA adaptor boards, you can customize the VGA text colors used to
  2107. display prompts and the menu. You can't change the white foreground or black
  2108. background used to display the characters being edited.
  2109.  
  2110. The default startup color is turquoise. If on your computer, the text at
  2111. startup is white instead of turquoise, this means you can't customize the
  2112. text colors with your VGA adaptor board.
  2113.  
  2114. If you can customize colors, the colors are specified by their red, green,
  2115. and blue (RGB) components. The components can be changed in two ways. The
  2116. first way is to press the appropriate F key and enter a number from 0 to 63
  2117. directly.
  2118.  
  2119. The second way is to notice that one of the RGB components has a small arrow
  2120. next to it. This defines the selected component. To change the selected
  2121. component's value, press the up or down arrows. To change which RGB component
  2122. is the selected component, press the left or right arrows.
  2123.  
  2124.  
  2125.  
  2126. 5.2.12.  Exp. Factors
  2127.  
  2128.  
  2129.           FONTEDIT, (C) by Alexander Walter                      Page 37
  2130.  
  2131.  
  2132.  
  2133. Direct control of the magnification values can be obtained by pressing
  2134. Shift-F3 from the Main Menu. Magnification is used to change the size of the
  2135. characters displayed on the screen. Normally, it will not be necessary to use
  2136. this option, since FONTEDIT will automatically choose magnification factors
  2137. which fill up the screen as much as possible while maintaining a "pleasing"
  2138. ratio of width to height.
  2139.  
  2140. The smaller the magnification factor, the smaller the character display will
  2141. be, and vice versa. This feature could be used to approximate on screen how
  2142. the printed character will look, although because of the screen's resolution
  2143. it is not possible to duplicate the 300 dot per inch resolution of the
  2144. printer.
  2145.  
  2146. When Shift-F3 is used, FONTEDIT will display the present magnification
  2147. factors and prompt you for new factors. The factors are displayed in the form
  2148. X,Y. This means that every pixel in the character is composed of "X" rows and
  2149. "Y" columns of pixels on the screen. Magnification factors of 1,1 are the
  2150. smallest that can be displayed; the largest depends on the cell width and
  2151. cell height of the font being displayed, and upon the display adaptor used.
  2152.  
  2153. Magnification factors are inputted in the form X,Y including comma. If either
  2154. X or Y is omitted, the present value of the missing X or Y is used. Pressing
  2155. Return without supplying X or Y will keep the present values.
  2156.  
  2157.  
  2158.  
  2159. 5.2.13.  <Print Shop Icon
  2160.  
  2161. This option allows you to import a Print Shop icon. These are not the same as
  2162. a Print Shop graphics file.
  2163. After specifying the filename to import, choose by number which icon within
  2164. the file should be imported.
  2165.  
  2166.  
  2167.  
  2168. 5.2.14.  Import PCX
  2169.  
  2170. This selection is made by pressing Shift-F10 from the Main Menu, and allows
  2171. PCX graphics to be imported to unused ASCII values. It is similar to the
  2172. Import TIFF function, except that the source image is in the PCX format. Only
  2173. binary (black & white) images can be imported.
  2174.  
  2175. When the PCX picture is bigger than the screen, the Import PCX function works
  2176. slightly differently than the Import TIFF function. In this situation, at
  2177. first there is no blinking box, and the screen is filled as much as possible
  2178. by the upper left portion of the PCX picture. If the part of the PCX picture
  2179. you want to import is off-screen, use the arrow keys, PgUp, PgDn, Home, or
  2180. End keys to scroll the picture until the portion you want to import is
  2181. visible, then press Enter. Once you press Enter, a blinking box appears to
  2182. show which part of the PCX picture will be imported. Move the blinking box
  2183. with the arrow keys, PgUp, PgDn, Tab, or Shift-Tab keys. The dimensions of
  2184. the blinking box are controlled by the font's cell width and cell height. If
  2185. the blinking box is not big enough, it can be made bigger by increasing the
  2186. cell width and cell height from the Font Operations menu.
  2187.  
  2188.  
  2189.           FONTEDIT, (C) by Alexander Walter                      Page 38
  2190.  
  2191.  
  2192.  
  2193. Once the blinking box covers the part you want to import, press F10 or click
  2194. the mouse to import it. You will then be taken into pixel edit mode for the
  2195. new character where you can trim off extra rows and columns or delete stray
  2196. pixels, etc.
  2197.  
  2198.  
  2199.  
  2200. 5.2.15.  Import Soft Font
  2201.  
  2202. This selection is made by pressing CTRL-F10 from the Main Menu, and allows a
  2203. character from another soft font to be imported to unused ASCII values. Upon
  2204. choosing this option and supplying the name of the font file to import, you
  2205. will be presented a list of ASCII values from that soft font. The character
  2206. to import can be chosen either by its ASCII value, or by pressing its
  2207. keyboard button. For instance, if you want to import the digit "1", you can
  2208. either click on the ASCII value of 49, or you can press the "1" on your
  2209. keyboard when you see the list of ASCII values.
  2210.  
  2211. After picking which ASCII character to import, you will then see a list of
  2212. unused ASCII values in the current font being edited. Choose which one will
  2213. receive the imported character. Again, as a shortcut, you can press the
  2214. character's button rather than click on the ASCII value.
  2215.  
  2216. After choosing the destination ASCII value, importing the character proceeds
  2217. exactly like importing a character from a TIFF graphics image.
  2218.  
  2219.  
  2220.  
  2221. 5.2.16.  Pick ASCII
  2222.  
  2223. This menu choice allows you to select an ASCII character to display. This may
  2224. be needed when running FONTEDIT on PCs without numeric keypads, since the
  2225. conventional way of displaying a character without an associated key on the
  2226. keyboard is to press and hold the ALT key, type the 3-digit ASCII value on
  2227. the numeric keypad, then release the ALT key. Without a numeric keypad, use
  2228. the Pick ASCII menu choice instead.
  2229.  
  2230. The inputted number is interpreted as decimal by default. To input a
  2231. hexadecimal number, prefix it with "&h", and to input an octal number, prefix
  2232. it by "&o". For instance, to choose "A" (65 decimal, 41 hex, or 101 octal),
  2233. enter either "65", "&h41", or "&o101".
  2234.  
  2235.  
  2236.  
  2237. 6.  Tips
  2238.  
  2239. Below are a few tips for using FONTEDIT, based on interest from user
  2240. feedback.
  2241.  
  2242.  
  2243.  
  2244. 6.1.  Scanning and Importing Graphics
  2245.  
  2246. In this version of FONTEDIT, .PCX is the preferred import format since it is
  2247. much faster than .TIF support, and you can scroll .PCX images which are
  2248.  
  2249.           FONTEDIT, (C) by Alexander Walter                      Page 39
  2250.  
  2251.  
  2252.  
  2253. bigger than your screen. You won't be limited to importing from the "top" of
  2254. a .PCX image, whereas you will still have this limitation with .TIF images.
  2255.  
  2256. Whn importing from .TIF graphics, characters must be selected from the "top"
  2257. of the image. "Top" varies with the graphics mode; it varies from the top 459
  2258. lines in VGA mode, down to the top 187 lines in CGA mode. If your graphics is
  2259. wider than 637 pixels, you will first be shown a compressed image. Note that
  2260. at 300 dpi, a scan of 459 x 637 pixels is roughly 1.5" H x 2" W. When
  2261. possible, try to crop the .TIF image so that it is as small as possible.
  2262.  
  2263. If using a scanner, set your scanner's resolution to 300 dots per inch (dpi)
  2264. will match the Laserjet's 300 dpi resolution, making your new characters the
  2265. same physical size as your sample notes. Otherwise, you may need to use the
  2266. Resize Character option (Shift-F2 from the Image Transform Menu).
  2267.  
  2268. Graphic images must be black & white line art, not color. If possible, set
  2269. color scanners to black & white mode. Gray scale images may or may not work.
  2270.  
  2271. To create characters from a scanned image where the upper and lower case
  2272. characters are similar (for instance "X" and "x", or "C" and "c"), first
  2273. import the upper case version and clean it up. Then create the lower case
  2274. version by copying it to the new ascii value and resizing it. It is easier to
  2275. create a clean lower case character this way than trying to import it, since
  2276. the scanned image may be full of stray pixels.
  2277.  
  2278.  
  2279.  
  2280. 6.2.  Very Large Point Sizes
  2281.  
  2282. Very large point sizes use a lot of RAM, both in FONTEDIT and within the
  2283. printer. The tips below will help deal with these memory requirements when
  2284. working with very large point sizes (around 100 point). For all other
  2285. situations, no special precautions should be necessary.
  2286.  
  2287. Before starting FONTEDIT, make sure you have as much RAM free as possible. Do
  2288. this by removing nonessential TSRs from your autoexec.bat, and device drivers
  2289. from config.sys. Or as an alternative, use an expanded memory manager (such
  2290. as HIMEM.SYS or QEMM.SYS) to load these items high. Don't reduce the number
  2291. of "FILES=" in your config.sys to less than 10 to 15 or so.
  2292.  
  2293. The amount of working RAM needed when resizing a font depends on the point
  2294. size of both the starting size and desired size. So it will take less RAM to
  2295. resize from a smaller size to a very big size, compared to resizing from a
  2296. big size to an even bigger size.
  2297.  
  2298. The size of the file will grow by about the square of the change in point
  2299. size, so make sure you have enough free disk space available. For instance,
  2300. if you double the point size, the file will roughly quadruple in size.
  2301. FONTEDIT will also need working space on the hard disk equal to the size of
  2302. the new font file.
  2303.  
  2304. Delete any unnecessary characters from the font before you resize it. Not
  2305. only will FONTEDIT be able to resize the font faster because there is less
  2306. work to do, but you will also save memory in your printer when you download
  2307. the font.
  2308.  
  2309.           FONTEDIT, (C) by Alexander Walter                      Page 40
  2310.  
  2311.  
  2312.  
  2313.  
  2314. In the remaining characters, check whether any have blank rows or columns
  2315. around the edges. If so, delete these blank rows/columns by using the Ins/Del
  2316. Row/Col option from the pixel edit menu.
  2317.  
  2318. Move the remaining characters higher in the cell box by decreasing the
  2319. baseline position (F10 from the Font Operations Menu). Then make the font's
  2320. cell width and cell height as small as possible. These are changed via F2 and
  2321. F3 from the Font Operations Menu.
  2322.  
  2323. After deleting unnecessary characters and changing the cell width and height,
  2324. you may find it more accurate to calculate the point size directly from the
  2325. number of pixel rows in a character rather than relying on the original point
  2326. size of the font. Since the LaserJet prints at 300 pixels per inch, and in
  2327. typography 1 inch equals 72 points, there are 4.167 pixels per point size, or
  2328. conversely 0.24 points per pixel. For instance, a font of 110 point size
  2329. should have a vertical size of 458 pixels.
  2330.  
  2331. Once you have successfully resized the font, save your intermediate results
  2332. by immediately quitting FONTEDIT and copying the file. Then you can restart
  2333. FONTEDIT and edit the characters to touch them up.
  2334.  
  2335. Certain functions while pixel editing will require more RAM. These include
  2336. the Image Transform functions EXCEPT for Invert and Upside-Down. Avoid the
  2337. rest of the Image Transforms if you can.
  2338.  
  2339. To reiterate, these suggestions should only be necessary for very large point
  2340. sizes. For most other application, no special steps should be necessary.
  2341.  
  2342.  
  2343.  
  2344. 6.3.  Using Bitmapped Printer Fonts with Windows 3.1
  2345.  
  2346. You can use bitmapped printer fonts with Microsoft Windows 3.1. Below is a
  2347. step-by-step procedure for installing a bitmapped printer font:
  2348.  
  2349.   1.  Copy the font to a subdirectory on your hard disk (say for this
  2350.       example, "c:\fonts").
  2351.   2.  From the Windows Program Manager, double-click on the Main Group icon.
  2352.   3.  Double-click on the Control Panel icon.
  2353.   4.  Double-click on the Printers icon.
  2354.   5.  Highlight a LaserJet printer if it isn't already highlighted. Click on
  2355.       the Setup button.
  2356.   6.  Click on the Fonts button.
  2357.   7.  Click on the Add Fonts button.
  2358.   8.  Type in the drive and directory of your hard disk where you copied the
  2359.       bitmapped font you want to install, then press Enter (the drive &
  2360.       directory should agree with step 1 above, i.e., "c:\fonts").
  2361.   9.  Windows will now scan all the files in the directory you specified, and
  2362.       will list in a box on the right side of the window all the bitmapped
  2363.       fonts it found. Note that the description of the font in the box is
  2364.       derived from the Typeface field in the font header, not from the font's
  2365.       filename. Highlight the font you want to install, and click on the Add
  2366.       button.
  2367.   10. Windows will ask you if it can copy the font to a directory, usually
  2368.  
  2369.           FONTEDIT, (C) by Alexander Walter                      Page 41
  2370.  
  2371.  
  2372.  
  2373.       "\pclfonts". Click on the OK button.
  2374.   11. The font is now installed. Back out of all the windows by clicking on
  2375.       the OK, Close, or Cancel buttons as appropriate.
  2376.  
  2377. You can now print documents on your LaserJet with this font. However, you
  2378. won't be able to see the font on screen as you type; Windows will substitute
  2379. the closest font in terms of point size, weight, etc.
  2380.  
  2381. When you want to format a document with this font, select the font by the
  2382. name reported in step 9 above. You will only be able to use it in the point
  2383. size installed, but of course you can use FONTEDIT to create fonts of other
  2384. point sizes. If you change the point size of the bitmapped font you
  2385. installed, you should install it again.
  2386.  
  2387.  
  2388.  
  2389. 7.  Sample Session
  2390.  
  2391. Two sample sessions are included below as a way of demonstrating how to use
  2392. FONTEDIT . They will create 1) a Gantt milestone character (D); and 2) a
  2393. registered trademark symbol (R.
  2394.  
  2395.  
  2396.  
  2397. 7.1.  Gantt Milestone Character
  2398.  
  2399. The objective of this sample session will be to create a special symbol used
  2400. when printing Gantt timing charts. The symbol we will create is ASCII 127.
  2401. This symbol is a hollow, upward-pointing triangle and is used by the
  2402. on-screen display of Timeline to signify a milestone. However, most font
  2403. files do not include this character, so we must either make do with a
  2404. substitute or define our own. When printing a Gantt file to disk, Timeline
  2405. uses ASCII 127 as the milestone character, so we will edit ASCII 127.
  2406.  
  2407. Start up FONTEDIT and choose your font file. When you get to the main menu,
  2408. try displaying ASCII 127. Since it is not represented by a key on the
  2409. keyboard, you will have to hold down the ALT key, press 127 on the numeric
  2410. keypad, and then let go of the ALT key. If nothing happens on the screen,
  2411. this means ASCII 127 is not defined in the font file. You will have to Create
  2412. a New Character. If so, choose F7 from the main menu. Highlight "127" from
  2413. the list you see and either click the mouse or press ENTER. You will now be
  2414. in Pixel Edit mode for ASCII 127.
  2415.  
  2416. If ASCII 127 already exists in your font file, press F2 from the Main Menu to
  2417. begin editing it.
  2418.  
  2419. In Pixel Edit mode, perform the following steps to create a hollow, upward
  2420. pointing triangle. At all times we will be choosing from the menu options
  2421. displayed along the top and top right of the screen.
  2422.  
  2423.   -   Press F4 to clear the character entirely.
  2424.   -   Press F3 to begin Area Operations.
  2425.   -   Press F3 to choose a polygon shape.
  2426.   -   Go to the top of the character box and mark this as the apex (top) of
  2427.       the triangle by either pressing the left mouse button (if a mouse is
  2428.  
  2429.           FONTEDIT, (C) by Alexander Walter                      Page 42
  2430.  
  2431.  
  2432.  
  2433.       installed), or by pressing RETURN (if no mouse is installed).
  2434.   -   Go to the lower left corner of the character box and mark it as the
  2435.       lower left corner of the triangle by pressing either the left mouse
  2436.       button or RETURN.
  2437.   -   Go to the lower right corner of the character box and mark it as the
  2438.       lower right corner of the triangle by pressing either the left mouse
  2439.       button or RETURN.
  2440.   -   Complete the triangle by pressing either the right mouse button (if
  2441.       using a mouse), or F10 (if not using a mouse).
  2442.   -   Move the mouse cursor or crosshairs to the interior of the triangle and
  2443.       press F3 to Fill it.
  2444.  
  2445. We now have a solid, upward pointing triangle on screen. But we want a hollow
  2446. triangle. So we will repeat the process above for a smaller triangle within
  2447. the solid triangle, but instead of filling it we will clear it.
  2448.  
  2449.   -   Press F3 to choose a polygon shape.
  2450.   -   Go to a point about 4 pixels below the apex of the solid triangle and
  2451.       press the left mouse button or RETURN.
  2452.   -   Go to a point about 4 pixels above and to the right of the lower left
  2453.       corner of the character box and mark it as the lower left corner of the
  2454.       triangle by pressing either the left mouse button or RETURN.
  2455.   -   Go to a point about 4 pixels above and to the left of the lower right
  2456.       corner of the character box and mark it as the lower right corner of
  2457.       the triangle by pressing either the left mouse button or RETURN.
  2458.   -   Complete the triangle by pressing either the right mouse button (if
  2459.       using a mouse), or F10 (if not using a mouse).
  2460.   -   Move the mouse cursor or crosshairs to the interior of the triangle and
  2461.       press F4 to Clear it.
  2462.   -   Press ESC to go to Pixel Editing. You can do pixel-by-pixel touchup of
  2463.       the character if you wish.
  2464.   -   Press F10 to save your changes
  2465.  
  2466. At this point we should now have displayed and saved a hollow, upward
  2467. pointing triangle. We could continue to define new characters, but lets stop;
  2468. this is enough for a demonstration.
  2469.  
  2470.   -   Press ESC to quit. When prompted for confirmation, press "Y".
  2471.  
  2472. Your font file has now been edited to define ASCII 127 as a hollow, upward
  2473. pointing triangle. Download it to your laser printer as usual, and whenever
  2474. you print a document using this font, all ASCII 127s will be displayed as a
  2475. hollow, upward pointing triangle, similar to this: D.
  2476.  
  2477.  
  2478.  
  2479. 7.2.  Registered Trademark Symbol
  2480.  
  2481. A registered trademark symbol is often represented by a small capital "R"
  2482. within a circle; however, this character is seldom included in a font. Use
  2483. FONTEDIT to make our own!
  2484.  
  2485. The discussion below will assume that ASCII 200 will become the new symbol,
  2486. and that ASCII 200 doesn't already exist in the font.
  2487.  
  2488.  
  2489.           FONTEDIT, (C) by Alexander Walter                      Page 43
  2490.  
  2491.  
  2492.  
  2493. At the Main Menu, press "R" to display a capital R. Then perform the
  2494. following steps:
  2495.  
  2496.   -   Press F5 to copy it to ASCII 200
  2497.   -   You are now in Pixel Edit mode for ASCII 200. Make sure you are not in
  2498.       Zoom mode. If you are in Zoom mode, unzoom by pressing ALT-Z.
  2499.   -   From the Pixel Edit menu, choose F2, Image Transforms
  2500.   -   From the Image Transforms menu, press Shift-F2 to Resize.
  2501.  
  2502. The blinking box now represents the outline of the character box after the
  2503. character is resized. Resize it to have about half its former width and
  2504. height. Once it has the proper size, click the mouse or press F10 to accept.
  2505. Then continue with the following steps:
  2506.  
  2507.   -   Press ESC to return to the Pixel Edit menu.
  2508.   -   Press F5 to choose Row/Col Ins/Del. Use this to insert several blank
  2509.       rows and columns on all sides of the character. When OK, press F10 to
  2510.       accept the new size. Use Ctrl-Up, -Down, -Left, or -Right to center the
  2511.       character appropriately.
  2512.   -   Press F3 for Area Operations
  2513.   -   Press F5 for Ellipse & Wedge.
  2514.   -   Completely enclose the small capital "R" in a circle, and make sure the
  2515.       "R" is centered in the circle. Make sure there is still room on all
  2516.       sides between the circle and the character box. If there is not enough
  2517.       room, add more rows & columns. When the circle is OK, either click the
  2518.       mouse or press F10 to accept. Use the fill option to fill everything
  2519.       outside the circle.
  2520.   -   Draw a second circle with the same center as the first, but slightly
  2521.       larger so that it completely encloses the first. Again, make sure there
  2522.       is still room on all sides between the second circle and the character
  2523.       box. When the second circle is OK, use the clear option to clear
  2524.       everything outside the second circle.
  2525.  
  2526. You will now see the registered trademark symbol. Press ESC to return to the
  2527. Pixel Edit menu, then press F10 to accept the new character. It should look
  2528. something like this:  (R).
  2529.